From ac1ac3011f36b3865a72452901512238b526daae Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 19 Jun 2025 07:32:02 -0400 Subject: [PATCH] Add btop theming --- config/btop/btop.conf | 2 +- install/theme.sh | 1 + themes/catppuccin/btop.theme | 83 ++++++++++++++++++++++++++++++++ themes/everforest/btop.theme | 92 ++++++++++++++++++++++++++++++++++++ themes/gruvbox/btop.theme | 92 ++++++++++++++++++++++++++++++++++++ themes/kanagawa/btop.theme | 86 +++++++++++++++++++++++++++++++++ themes/nord/btop.theme | 89 ++++++++++++++++++++++++++++++++++ 7 files changed, 444 insertions(+), 1 deletion(-) create mode 100644 themes/catppuccin/btop.theme create mode 100644 themes/everforest/btop.theme create mode 100644 themes/gruvbox/btop.theme create mode 100644 themes/kanagawa/btop.theme create mode 100644 themes/nord/btop.theme diff --git a/config/btop/btop.conf b/config/btop/btop.conf index e9bead3..c510f3e 100644 --- a/config/btop/btop.conf +++ b/config/btop/btop.conf @@ -2,7 +2,7 @@ #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" -color_theme = "tokyo-night" +color_theme = "current" #* If the theme set background should be shown, set to False if you want terminal background transparency. theme_background = True diff --git a/install/theme.sh b/install/theme.sh index 3bc4263..b272362 100644 --- a/install/theme.sh +++ b/install/theme.sh @@ -17,3 +17,4 @@ ln -snf ~/.config/omarchy/backgrounds/tokyo-night ~/.config/omarchy/current-back # Set specific app links for current theme ln -snf ~/.config/omarchy/current-theme/wofi.css ~/.config/wofi/style.css ln -snf ~/.config/omarchy/current-theme/neovim.lua ~/.config/nvim/lua/plugins/theme.lua +ln -snf ~/.config/omarchy/current-theme/btop.theme ~/.config/btop/themes/current.theme diff --git a/themes/catppuccin/btop.theme b/themes/catppuccin/btop.theme new file mode 100644 index 0000000..18a4ff6 --- /dev/null +++ b/themes/catppuccin/btop.theme @@ -0,0 +1,83 @@ +# Main background, empty for terminal default, need to be empty if you want transparent background +theme[main_bg]="#24273a" + +# Main text color +theme[main_fg]="#c6d0f5" + +# Title color for boxes +theme[title]="#c6d0f5" + +# Highlight color for keyboard shortcuts +theme[hi_fg]="#8caaee" + +# Background color of selected item in processes box +theme[selected_bg]="#51576d" + +# Foreground color of selected item in processes box +theme[selected_fg]="#8caaee" + +# Color of inactive/disabled text +theme[inactive_fg]="#838ba7" + +# Color of text appearing on top of graphs, i.e uptime and current network graph scaling +theme[graph_text]="#f2d5cf" + +# Background color of the percentage meters +theme[meter_bg]="#51576d" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="#f2d5cf" + +# CPU, Memory, Network, Proc box outline colors +theme[cpu_box]="#ca9ee6" #Mauve +theme[mem_box]="#a6d189" #Green +theme[net_box]="#ea999c" #Maroon +theme[proc_box]="#8caaee" #Blue + +# Box divider line and small boxes line color +theme[div_line]="#737994" + +# Temperature graph color (Green -> Yellow -> Red) +theme[temp_start]="#a6d189" +theme[temp_mid]="#e5c890" +theme[temp_end]="#e78284" + +# CPU graph colors (Teal -> Lavender) +theme[cpu_start]="#81c8be" +theme[cpu_mid]="#85c1dc" +theme[cpu_end]="#babbf1" + +# Mem/Disk free meter (Mauve -> Lavender -> Blue) +theme[free_start]="#ca9ee6" +theme[free_mid]="#babbf1" +theme[free_end]="#8caaee" + +# Mem/Disk cached meter (Sapphire -> Lavender) +theme[cached_start]="#85c1dc" +theme[cached_mid]="#8caaee" +theme[cached_end]="#babbf1" + +# Mem/Disk available meter (Peach -> Red) +theme[available_start]="#ef9f76" +theme[available_mid]="#ea999c" +theme[available_end]="#e78284" + +# Mem/Disk used meter (Green -> Sky) +theme[used_start]="#a6d189" +theme[used_mid]="#81c8be" +theme[used_end]="#99d1db" + +# Download graph colors (Peach -> Red) +theme[download_start]="#ef9f76" +theme[download_mid]="#ea999c" +theme[download_end]="#e78284" + +# Upload graph colors (Green -> Sky) +theme[upload_start]="#a6d189" +theme[upload_mid]="#81c8be" +theme[upload_end]="#99d1db" + +# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve) +theme[process_start]="#85c1dc" +theme[process_mid]="#babbf1" +theme[process_end]="#ca9ee6" diff --git a/themes/everforest/btop.theme b/themes/everforest/btop.theme new file mode 100644 index 0000000..f6aeadf --- /dev/null +++ b/themes/everforest/btop.theme @@ -0,0 +1,92 @@ +# All graphs and meters can be gradients +# For single color graphs leave "mid" and "end" variable empty. +# Use "start" and "end" variables for two color gradient +# Use "start", "mid" and "end" for three color gradient + +# Main background, empty for terminal default, need to be empty if you want transparent background +theme[main_bg]="#2d353b" + +# Main text color +theme[main_fg]="#d3c6aa" + +# Title color for boxes +theme[title]="#d3c6aa" + +# Highlight color for keyboard shortcuts +theme[hi_fg]="#e67e80" + +# Background color of selected items +theme[selected_bg]="#3d484d" + +# Foreground color of selected items +theme[selected_fg]="#dbbc7f" + +# Color of inactive/disabled text +theme[inactive_fg]="#2d353b" + +# Color of text appearing on top of graphs, i.e uptime and current network graph scaling +theme[graph_text]="#d3c6aa" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="#a7c080" + +# Cpu box outline color +theme[cpu_box]="#3d484d" + +# Memory/disks box outline color +theme[mem_box]="#3d484d" + +# Net up/down box outline color +theme[net_box]="#3d484d" + +# Processes box outline color +theme[proc_box]="#3d484d" + +# Box divider line and small boxes line color +theme[div_line]="#3d484d" + +# Temperature graph colors +theme[temp_start]="#a7c080" +theme[temp_mid]="#dbbc7f" +theme[temp_end]="#f85552" + +# CPU graph colors +theme[cpu_start]="#a7c080" +theme[cpu_mid]="#dbbc7f" +theme[cpu_end]="#f85552" + +# Mem/Disk free meter +theme[free_start]="#f85552" +theme[free_mid]="#dbbc7f" +theme[free_end]="#a7c080" + +# Mem/Disk cached meter +theme[cached_start]="#7fbbb3" +theme[cached_mid]="#83c092" +theme[cached_end]="#a7c080" + +# Mem/Disk available meter +theme[available_start]="#f85552" +theme[available_mid]="#dbbc7f" +theme[available_end]="#a7c080" + +# Mem/Disk used meter +theme[used_start]="#a7c080" +theme[used_mid]="#dbbc7f" +theme[used_end]="#f85552" + +# Download graph colors +theme[download_start]="#a7c080" +theme[download_mid]="#83c092" +theme[download_end]="#7fbbb3" + +# Upload graph colors +theme[upload_start]="#dbbc7f" +theme[upload_mid]="#e69875" +theme[upload_end]="#e67e80" + +# Process box color gradient for threads, mem and cpu usage +theme[process_start]="#a7c080" +theme[process_mid]="#e67e80" +theme[process_end]="#f85552" + diff --git a/themes/gruvbox/btop.theme b/themes/gruvbox/btop.theme new file mode 100644 index 0000000..0584954 --- /dev/null +++ b/themes/gruvbox/btop.theme @@ -0,0 +1,92 @@ +#Bashtop gruvbox (https://github.com/morhetz/gruvbox) theme +#by BachoSeven + +# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" +# example for white: "#FFFFFF", "#ff" or "255 255 255". + +# All graphs and meters can be gradients +# For single color graphs leave "mid" and "end" variable empty. +# Use "start" and "end" variables for two color gradient +# Use "start", "mid" and "end" for three color gradient + +# Main background, empty for terminal default, need to be empty if you want transparent background +theme[main_bg]="#282828" + +# Main text color +theme[main_fg]="#a89984" + +# Title color for boxes +theme[title]="#ebdbb2" + +# Highlight color for keyboard shortcuts +theme[hi_fg]="#d79921" + +# Background color of selected items +theme[selected_bg]="#282828" + +# Foreground color of selected items +theme[selected_fg]="#fabd2f" + +# Color of inactive/disabled text +theme[inactive_fg]="#282828" + +# Color of text appearing on top of graphs, i.e uptime and current network graph scaling +theme[graph_text]="#585858" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="#98971a" + +# Cpu box outline color +theme[cpu_box]="#a89984" + +# Memory/disks box outline color +theme[mem_box]="#a89984" + +# Net up/down box outline color +theme[net_box]="#a89984" + +# Processes box outline color +theme[proc_box]="#a89984" + +# Box divider line and small boxes line color +theme[div_line]="#a89984" + +# Temperature graph colors +theme[temp_start]="#458588" +theme[temp_mid]="#d3869b" +theme[temp_end]="#fb4394" + +# CPU graph colors +theme[cpu_start]="#b8bb26" +theme[cpu_mid]="#d79921" +theme[cpu_end]="#fb4934" + +# Mem/Disk free meter +theme[free_start]="#4e5900" +theme[free_mid]="" +theme[free_end]="#98971a" + +# Mem/Disk cached meter +theme[cached_start]="#458588" +theme[cached_mid]="" +theme[cached_end]="#83a598" + +# Mem/Disk available meter +theme[available_start]="#d79921" +theme[available_mid]="" +theme[available_end]="#fabd2f" + +# Mem/Disk used meter +theme[used_start]="#cc241d" +theme[used_mid]="" +theme[used_end]="#fb4934" + +# Download graph colors +theme[download_start]="#3d4070" +theme[download_mid]="#6c71c4" +theme[download_end]="#a3a8f7" + +# Upload graph colors +theme[upload_start]="#701c45" +theme[upload_mid]="#b16286" +theme[upload_end]="#d3869b" diff --git a/themes/kanagawa/btop.theme b/themes/kanagawa/btop.theme new file mode 100644 index 0000000..5202748 --- /dev/null +++ b/themes/kanagawa/btop.theme @@ -0,0 +1,86 @@ +# Bashtop Kanagawa-wave (https://github.com/rebelot/kanagawa.nvim) theme +# By: philikarus + +# Main bg +theme[main_bg]="#1f1f28" + +# Main text color +theme[main_fg]="#dcd7ba" + +# Title color for boxes +theme[title]="#dcd7ba" + +# Highlight color for keyboard shortcuts +theme[hi_fg]="#C34043" + +# Background color of selected item in processes box +theme[selected_bg]="#223249" + +# Foreground color of selected item in processes box +theme[selected_fg]="#dca561" + +# Color of inactive/disabled text +theme[inactive_fg]="#727169" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="#7aa89f" + +# Cpu box outline color +theme[cpu_box]="#727169" + +# Memory/disks box outline color +theme[mem_box]="#727169" + +# Net up/down box outline color +theme[net_box]="#727169" + +# Processes box outline color +theme[proc_box]="#727169" + +# Box divider line and small boxes line color +theme[div_line]="#727169" + +# Temperature graph colors +theme[temp_start]="#98BB6C" +theme[temp_mid]="#DCA561" +theme[temp_end]="#E82424" + +# CPU graph colors +theme[cpu_start]="#98BB6C" +theme[cpu_mid]="#DCA561" +theme[cpu_end]="#E82424" + +# Mem/Disk free meter +theme[free_start]="#E82424" +theme[free_mid]="#C34043" +theme[free_end]="#FF5D62" + +# Mem/Disk cached meter +theme[cached_start]="#C0A36E" +theme[cached_mid]="#DCA561" +theme[cached_end]="#FF9E3B" + +# Mem/Disk available meter +theme[available_start]="#938AA9" +theme[available_mid]="#957FBB" +theme[available_end]="#9CABCA" + +# Mem/Disk used meter +theme[used_start]="#658594" +theme[used_mid]="#7E9CDB" +theme[used_end]="#7FB4CA" + +# Download graph colors +theme[download_start]="#7E9CDB" +theme[download_mid]="#938AA9" +theme[download_end]="#957FBB" + +# Upload graph colors +theme[upload_start]="#DCA561" +theme[upload_mid]="#E6C384" +theme[upload_end]="#E82424" + +# Process box color gradient for threads, mem and cpu usage +theme[process_start]="#98BB6C" +theme[process_mid]="#DCA561" +theme[process_end]="#C34043" diff --git a/themes/nord/btop.theme b/themes/nord/btop.theme new file mode 100644 index 0000000..fbd0af1 --- /dev/null +++ b/themes/nord/btop.theme @@ -0,0 +1,89 @@ +#Bashtop theme with nord palette (https://www.nordtheme.com) +#by Justin Zobel + +# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" +# example for white: "#ffffff", "#ff" or "255 255 255". + +# All graphs and meters can be gradients +# For single color graphs leave "mid" and "end" variable empty. +# Use "start" and "end" variables for two color gradient +# Use "start", "mid" and "end" for three color gradient + +# Main background, empty for terminal default, need to be empty if you want transparent background +theme[main_bg]="#2E3440" + +# Main text color +theme[main_fg]="#D8DEE9" + +# Title color for boxes +theme[title]="#8FBCBB" + +# Highlight color for keyboard shortcuts +theme[hi_fg]="#5E81AC" + +# Background color of selected item in processes box +theme[selected_bg]="#4C566A" + +# Foreground color of selected item in processes box +theme[selected_fg]="#ECEFF4" + +# Color of inactive/disabled text +theme[inactive_fg]="#4C566A" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="#5E81AC" + +# Cpu box outline color +theme[cpu_box]="#4C566A" + +# Memory/disks box outline color +theme[mem_box]="#4C566A" + +# Net up/down box outline color +theme[net_box]="#4C566A" + +# Processes box outline color +theme[proc_box]="#4C566A" + +# Box divider line and small boxes line color +theme[div_line]="#4C566A" + +# Temperature graph colors +theme[temp_start]="#81A1C1" +theme[temp_mid]="#88C0D0" +theme[temp_end]="#ECEFF4" + +# CPU graph colors +theme[cpu_start]="#81A1C1" +theme[cpu_mid]="#88C0D0" +theme[cpu_end]="#ECEFF4" + +# Mem/Disk free meter +theme[free_start]="#81A1C1" +theme[free_mid]="#88C0D0" +theme[free_end]="#ECEFF4" + +# Mem/Disk cached meter +theme[cached_start]="#81A1C1" +theme[cached_mid]="#88C0D0" +theme[cached_end]="#ECEFF4" + +# Mem/Disk available meter +theme[available_start]="#81A1C1" +theme[available_mid]="#88C0D0" +theme[available_end]="#ECEFF4" + +# Mem/Disk used meter +theme[used_start]="#81A1C1" +theme[used_mid]="#88C0D0" +theme[used_end]="#ECEFF4" + +# Download graph colors +theme[download_start]="#81A1C1" +theme[download_mid]="#88C0D0" +theme[download_end]="#ECEFF4" + +# Upload graph colors +theme[upload_start]="#81A1C1" +theme[upload_mid]="#88C0D0" +theme[upload_end]="#ECEFF4"