Restart swaync too

This commit is contained in:
David Heinemeier Hansson
2025-06-19 15:11:55 +02:00
parent 21273c80b6
commit d0e8d28d9d

View File

@ -35,8 +35,9 @@ ln -nsf "$NEW_THEME" "$HOME/.config/omarchy/current/theme"
# Touch alacritty config to pickup the changed theme # Touch alacritty config to pickup the changed theme
touch "$HOME/.config/alacritty/alacritty.toml" touch "$HOME/.config/alacritty/alacritty.toml"
# Restart waybar for new theme # Restart for new theme
pkill waybar && setsid waybar pkill waybar && setsid waybar
pkill swaync && setsid swaync
# Set new background # Set new background
ln -nsf $(find "$HOME/.config/omarchy/current/backgrounds/" -type f | head -n 1) "$HOME/.config/omarchy/current/background" ln -nsf $(find "$HOME/.config/omarchy/current/backgrounds/" -type f | head -n 1) "$HOME/.config/omarchy/current/background"