mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Fix that swaybg would hang unless started with &
This commit is contained in:
@ -43,7 +43,7 @@ hyprctl reload
|
|||||||
# 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"
|
||||||
pkill -x swaybg
|
pkill -x swaybg
|
||||||
setsid swaybg -i "$HOME/.config/omarchy/current/background" -m fill
|
setsid swaybg -i "$HOME/.config/omarchy/current/background" -m fill &
|
||||||
|
|
||||||
# Notify of the new theme
|
# Notify of the new theme
|
||||||
notify-send "Theme changed to $NEW_THEME_NAME" -t 2000
|
notify-send "Theme changed to $NEW_THEME_NAME" -t 2000
|
||||||
|
Reference in New Issue
Block a user