diff --git a/dot_local/share/dark-mode.d/executable_swap.sh b/dot_local/share/dark-mode.d/executable_swap.sh index ed14be1b653072a6625e87bf70b3567674ae844b..121146206f849214feb118f036ef8b82c8338651 100644 --- a/dot_local/share/dark-mode.d/executable_swap.sh +++ b/dot_local/share/dark-mode.d/executable_swap.sh @@ -4,11 +4,14 @@ sed -i 's/light/dark/g' ~/.config/chezmoi/chezmoi.toml chezmoi apply xfconf-query -c xsettings -p /Net/ThemeName -s "Catppuccin-Macchiato-Standard-Rosewater-Dark" xrdb -load ~/.Xresources +"$XDG_CONFIG_HOME/emacs/bin/doom" sync pkill polybar pkill dunst +pkill emacs i3-msg exec "polybar top" i3-msg exec "polybar bottom" -doom sync +i3-msg exec "dunst" +i3-msg exec "emacs --daemon" unlink ~/.wallpaper.png ln -s ~/Pictures/walls/catppuccin-macchiato.png ~/.wallpaper.png feh --bg-scale ~/.wallpaper.png diff --git a/dot_local/share/light-mode.d/executable_swap.sh b/dot_local/share/light-mode.d/executable_swap.sh index 1992f7f05d8e9fecc92010b6e1b7658b7bf630ad..5df0f3d8da44c95aefe54541ca378587d4786180 100644 --- a/dot_local/share/light-mode.d/executable_swap.sh +++ b/dot_local/share/light-mode.d/executable_swap.sh @@ -4,11 +4,14 @@ sed -i 's/dark/light/g' ~/.config/chezmoi/chezmoi.toml chezmoi apply xfconf-query -c xsettings -p /Net/ThemeName -s "Catppuccin-Latte-Standard-Rosewater-Light" xrdb -load ~/.Xresources +"$XDG_CONFIG_HOME/emacs/bin/doom" sync pkill polybar pkill dunst +pkill emacs i3-msg exec "polybar top" i3-msg exec "polybar bottom" -doom sync +i3-msg exec "dunst" +i3-msg exec "emacs --daemon" unlink ~/.wallpaper.png ln -s ~/Pictures/walls/catppuccin-latte.png ~/.wallpaper.png feh --bg-scale ~/.wallpaper.png