diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 50b0164..6c9f610 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -17,7 +17,7 @@ light_rofi_pywal="$HOME/.cache/wal/colors-rofi-light.rasi" pkill swaybg # Initialize swww if needed -swww query || swww init +swww query || swww-daemon # Set swww options swww="swww img" diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 7405140..37afe06 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -20,7 +20,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then notify-send -e -u low -i "$notif" "gamemode enabled. All animations off" exit else - swww init && swww img "$HOME/.config/rofi/.current_wallpaper" + swww-daemon && swww img "$HOME/.config/rofi/.current_wallpaper" & sleep 0.1 ${SCRIPTSDIR}/PywalSwww.sh sleep 0.5