summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/scheme/btop-theme-dark1
-rw-r--r--.config/scheme/btop-theme-light1
-rwxr-xr-x.local/bin/scheme6
3 files changed, 7 insertions, 1 deletions
diff --git a/.config/scheme/btop-theme-dark b/.config/scheme/btop-theme-dark
new file mode 100644
index 0000000..c11dbbd
--- /dev/null
+++ b/.config/scheme/btop-theme-dark
@@ -0,0 +1 @@
+/usr/share/btop/themes/tokyo-storm.theme
diff --git a/.config/scheme/btop-theme-light b/.config/scheme/btop-theme-light
new file mode 100644
index 0000000..dea95ad
--- /dev/null
+++ b/.config/scheme/btop-theme-light
@@ -0,0 +1 @@
+/usr/share/btop/themes/whiteout.theme
diff --git a/.local/bin/scheme b/.local/bin/scheme
index af2edad..202a041 100755
--- a/.local/bin/scheme
+++ b/.local/bin/scheme
@@ -16,6 +16,7 @@ set_scheme () {
GTK_THEME=$(cat "$XDG_CONFIG_HOME/scheme/gtk-theme-dark")
QT_THEME=$(cat "$XDG_CONFIG_HOME/scheme/qt-theme-dark")
TERM_THEME=$(cat "$XDG_CONFIG_HOME/scheme/term-theme-dark")
+ BTOP_THEME=$(cat "$XDG_CONFIG_HOME/scheme/btop-theme-dark")
FZF_COLOR=dark
PREFER_DARK="true"
PREFER_DARK_STR="prefer-dark"
@@ -23,6 +24,7 @@ set_scheme () {
GTK_THEME=$(cat "$XDG_CONFIG_HOME/scheme/gtk-theme-light")
QT_THEME=$(cat "$XDG_CONFIG_HOME/scheme/qt-theme-light")
TERM_THEME=$(cat "$XDG_CONFIG_HOME/scheme/term-theme-light")
+ BTOP_THEME=$(cat "$XDG_CONFIG_HOME/scheme/btop-theme-light")
FZF_COLOR=light
PREFER_DARK="false"
PREFER_DARK_STR="prefer-light"
@@ -30,6 +32,8 @@ set_scheme () {
sed -ir "s|^colors: .*$|colors: $TERM_THEME|" "$XDG_CONFIG_HOME"/alacritty/alacritty.yml
+ sed -ir "s|^color_theme = .*$|color_theme = $BTOP_THEME|" "$XDG_CONFIG_HOME"/btop/btop.conf
+
sed -ir "s|theme=.*$|theme=$QT_THEME|" \
"$XDG_CONFIG_HOME"/Kvantum/kvantum.kvconfig
@@ -46,7 +50,7 @@ set_scheme () {
gsettings set org.gnome.desktop.interface gtk-theme "$GTK_THEME"
gsettings set org.gnome.desktop.wm.preferences theme "$GTK_THEME"
- echo -n $FZF_COLOR > "$XDG_CONFIG_HOME"/scheme/fzf-color
+ echo $FZF_COLOR > "$XDG_CONFIG_HOME"/scheme/fzf-color
# todo:
# - dmenu ?