mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Actually fine just to use SIGUSR2
This commit is contained in:
@ -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
|
||||
|
||||
# Restart waybar
|
||||
pkill waybar &>/dev/null
|
||||
setsid waybar &>/dev/null &
|
||||
pkill -SIGUSR2 waybar
|
||||
fi
|
||||
|
@ -29,8 +29,7 @@ ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR"
|
||||
touch "$HOME/.config/alacritty/alacritty.toml"
|
||||
|
||||
# Restart components to apply new theme
|
||||
pkill waybar &>/dev/null
|
||||
setsid waybar &>/dev/null &
|
||||
pkill -SIGUSR2 waybar
|
||||
makoctl reload
|
||||
hyprctl reload
|
||||
|
||||
|
Reference in New Issue
Block a user