Change summary
dot_local/share/dark-mode.d/executable_swap.sh | 6 +++---
dot_local/share/light-mode.d/executable_swap.sh | 2 --
2 files changed, 3 insertions(+), 5 deletions(-)
Detailed changes
@@ -5,18 +5,18 @@ 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
matched=$(hyprctl instances | grep -oE "instance [a-zA-Z0-9]{40}_[a-zA-Z0-9]{10}:")
if [[ -n $matched ]]; then
- hyprctl dispatch exec -- polybar top
- hyprctl dispatch exec -- polybar bottom
+ pkill waybar
+ hyprctl dispatch exec -- waybar
hyprctl dispatch exec -- dunst
hyprctl dispatch exec -- emacs --daemon
else
+ pkill polybar
i3-msg exec "polybar top"
i3-msg exec "polybar bottom"
i3-msg exec "dunst"
@@ -11,13 +11,11 @@ matched=$(hyprctl instances | grep -oE "instance [a-zA-Z0-9]{40}_[a-zA-Z0-9]{10}
pkill dunst
pkill emacs
if [[ -n $matched ]]; then
- # Within Hyprland
pkill waybar
hyprctl dispatch exec -- waybar
hyprctl dispatch exec -- dunst
hyprctl dispatch exec -- emacs --daemon
else
- # Without Hyprland
pkill polybar
i3-msg exec "polybar top"
i3-msg exec "polybar bottom"