fix: shadows not being enabled on white theme

This commit is contained in:
jabuxas 2024-11-18 12:57:57 -03:00
parent 22632ecac4
commit 2645d97764

View File

@ -15,18 +15,17 @@ switch $CURRENT_THEME
echo changing to white ... echo changing to white ...
gsettings set org.gnome.desktop.interface gtk-theme "Windows-95" gsettings set org.gnome.desktop.interface gtk-theme "Windows-95"
gsettings set org.gnome.desktop.interface icon-theme "nineicons-redux-v0.6" gsettings set org.gnome.desktop.interface icon-theme "nineicons-redux-v0.6"
swaymsg shadows enable
sed -i 's|black.toml|white.toml|' ~/.config/alacritty/alacritty.toml sed -i 's|black.toml|white.toml|' ~/.config/alacritty/alacritty.toml
pkill waybar; waybar -s ~/.config/waybar/style-white.css &> /dev/null & disown pkill waybar; waybar -s ~/.config/waybar/style-white.css &> /dev/null & disown
~/scripts/swww.sh $wpp1_white $wpp2_white ~/scripts/swww.sh $wpp1_white $wpp2_white
ln -sf ~/.config/tmux/themes/tmux-white.conf ~/.config/tmux/theme.conf ln -sf ~/.config/tmux/themes/tmux-white.conf ~/.config/tmux/theme.conf
tmux source ~/.config/tmux/tmux.conf tmux source ~/.config/tmux/tmux.conf
echo white > ~/colorscheme echo white > ~/colorscheme
swaymsg shadows enable
case white case white
echo changing to black... echo changing to black...
gsettings set org.gnome.desktop.interface gtk-theme "Material-Black-Blueberry-LA" gsettings set org.gnome.desktop.interface gtk-theme "Material-Black-Blueberry-LA"
gsettings set org.gnome.desktop.interface icon-theme "We10X-black-dark" gsettings set org.gnome.desktop.interface icon-theme "We10X-black-dark"
swaymsg shadows disable
swaymsg client.focused "#ffffff #ffffff #c1c1c1" swaymsg client.focused "#ffffff #ffffff #c1c1c1"
swaymsg client.focused_inactive "#c1c1c1 #212121 #cecece" swaymsg client.focused_inactive "#c1c1c1 #212121 #cecece"
sed -i 's|white.toml|black.toml|' ~/.config/alacritty/alacritty.toml sed -i 's|white.toml|black.toml|' ~/.config/alacritty/alacritty.toml
@ -35,6 +34,7 @@ switch $CURRENT_THEME
ln -sf ~/.config/tmux/themes/tmux-monochrome.conf ~/.config/tmux/theme.conf ln -sf ~/.config/tmux/themes/tmux-monochrome.conf ~/.config/tmux/theme.conf
tmux source ~/.config/tmux/tmux.conf tmux source ~/.config/tmux/tmux.conf
echo black > ~/colorscheme echo black > ~/colorscheme
swaymsg shadows disable
case '*' case '*'
echo mmmm what? echo mmmm what?
end end