From 5cdd289b1903068b4e0d0687f02df6792eed43ba Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 3 May 2024 17:18:34 +0900 Subject: [PATCH] Updated GameMode.sh and DarkLight.sh in line with new swww initialization --- config/hypr/scripts/DarkLight.sh | 2 +- config/hypr/scripts/GameMode.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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