diff --git a/desktop/scripts/change-colorscheme.sh b/desktop/scripts/change-colorscheme.sh index 2bb8f6b..81c9246 100755 --- a/desktop/scripts/change-colorscheme.sh +++ b/desktop/scripts/change-colorscheme.sh @@ -1,10 +1,17 @@ #!/bin/bash -current_theme=$(readlink ~/.config/tmux/theme.conf) +CURRENT_THEME=$(readlink ~/.config/tmux/theme.conf) -if [[ $current_theme == *tmux-white.conf ]]; then +WHITE_WIDE_WPP=~/pics/wallpapers/sl3.jpg +WHITE_NORMAL_WPP=~/pics/wallpapers/sl2.png + +RED_WIDE_WPP=~/pics/wallpapers/bm5.jpg +RED_NORMAL_WPP=~/pics/wallpapers/bm3.png + +if [[ $CURRENT_THEME == *tmux-white.conf ]]; then # change wallpaper - swww img -o DP-3 ~/pics/wallpapers/a\ carnival.jpg - swww img -o HDMI-A-1 ~/pics/wallpapers/the\ true\ old\ god.jpg + swww img -o HDMI-A-1 $RED_WIDE_WPP + swww img -o DP-3 $RED_NORMAL_WPP + # change tmux theme and reload ln -sf ~/.config/tmux/tmux-red.conf ~/.config/tmux/theme.conf @@ -20,10 +27,13 @@ if [[ $current_theme == *tmux-white.conf ]]; then # change neofetch pic (yes lmao) sed -i 's/rh.jpg/red.jpg/g' ~/.config/neofetch/config.conf sed -i '0,/cl11/{s/cl11/cl3/}' ~/.config/neofetch/config.conf + + # waybar black css + killall waybar; waybar > /dev/null & else # change wpp - swww img -o DP-3 ~/pics/wallpapers/HOLY.png - swww img -o HDMI-A-1 ~/pics/wallpapers/okw\ tf.jpg + swww img -o HDMI-A-1 $WHITE_WIDE_WPP + swww img -o DP-3 $WHITE_NORMAL_WPP # change tmux theme and reload ln -sf ~/.config/tmux/tmux-white.conf ~/.config/tmux/theme.conf @@ -39,4 +49,7 @@ else # neofetch sed -i 's/red.jpg/rh.jpg/g' ~/.config/neofetch/config.conf sed -i '0,/cl3/{s/cl3/cl11/}' ~/.config/neofetch/config.conf + + # waybar white css + killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null & fi