aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2024-05-03 17:18:34 +0900
committerJaKooLit <jimmielovejay@gmail.com>2024-05-03 17:18:34 +0900
commit5cdd289b1903068b4e0d0687f02df6792eed43ba (patch)
treebfdc70bfaee99b0f5d0bb50cca1087f396b9434f /config/hypr/scripts
parent3785d1063e4f9599f6005b8c8faed7eb5216bc22 (diff)
Updated GameMode.sh and DarkLight.sh in line with new swww initialization
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/DarkLight.sh2
-rwxr-xr-xconfig/hypr/scripts/GameMode.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh
index 50b01644..6c9f610f 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 74051403..37afe066 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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage