Actually fine just to use SIGUSR2

This commit is contained in:
David Heinemeier Hansson
2025-07-16 07:42:04 -07:00
parent 7098260e69
commit b95eae0e10
2 changed files with 2 additions and 4 deletions

View File

@ -6,6 +6,5 @@ if gum confirm "Refresh Waybar config? This will replace your current settings w
cp -f ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/ 2>/dev/null cp -f ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/ 2>/dev/null
# Restart waybar # Restart waybar
pkill waybar &>/dev/null pkill -SIGUSR2 waybar
setsid waybar &>/dev/null &
fi fi

View File

@ -29,8 +29,7 @@ ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR"
touch "$HOME/.config/alacritty/alacritty.toml" touch "$HOME/.config/alacritty/alacritty.toml"
# Restart components to apply new theme # Restart components to apply new theme
pkill waybar &>/dev/null pkill -SIGUSR2 waybar
setsid waybar &>/dev/null &
makoctl reload makoctl reload
hyprctl reload hyprctl reload