From 837c47eb21a5a456a30ecee9c8881a48bb0837b2 Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Wed, 14 Feb 2024 08:51:13 -0300 Subject: [PATCH] fix wezterm for other themes and add melange waybar still need to add the css for it here --- desktop/scripts/change-colorscheme.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/desktop/scripts/change-colorscheme.sh b/desktop/scripts/change-colorscheme.sh index 14bca69..ff71e61 100755 --- a/desktop/scripts/change-colorscheme.sh +++ b/desktop/scripts/change-colorscheme.sh @@ -11,6 +11,7 @@ CHOICE=$(tofi <$HOME/scripts/choices) case "$CHOICE" in melange) + ln -sf ~/.config/tmux/tmux-melange.conf ~/.config/tmux/theme.conf tmux source-file ~/.config/tmux/tmux.conf @@ -19,13 +20,18 @@ case "$CHOICE" in # change wezterm theme sed -i 's/color_scheme = .*/color_scheme = "Gruvbox light, medium (base16)"/g' ~/.config/wezterm/wezterm.lua + + # change waybar theme + killall waybar; waybar -s ~/.config/waybar/style-melange.css > /dev/null & + ;; white) + ln -sf ~/.config/tmux/tmux-white.conf ~/.config/tmux/theme.conf tmux source-file ~/.config/tmux/tmux.conf # change wezterm theme - sed -i 's/Fahrenheit/Solarized Light (Gogh)/g' ~/.config/wezterm/wezterm.lua + sed -i 's/color_scheme = .*/color_scheme = "Solarized Light (Gogh)"/g' ~/.config/wezterm/wezterm.lua # neofetch sed -i 's/red.jpg/rh.jpg/g' ~/.config/neofetch/config.conf @@ -33,14 +39,16 @@ case "$CHOICE" in # waybar white css killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null & + ;; red) + # change tmux theme and reload ln -sf ~/.config/tmux/tmux-red.conf ~/.config/tmux/theme.conf tmux source-file ~/.config/tmux/tmux.conf # change wezterm theme - sed -i 's/Solarized Light (Gogh)/Fahrenheit/g' ~/.config/wezterm/wezterm.lua + sed -i 's/color_scheme = .*/color_scheme = "Fahrenheit"/g' ~/.config/wezterm/wezterm.lua # change neofetch pic (yes lmao) sed -i 's/rh.jpg/red.jpg/g' ~/.config/neofetch/config.conf