From 6b154533069f0875f1e365812db6d68676e9f961 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 4 Jan 2025 06:16:17 +0000 Subject: [PATCH] Adjust timing for animate-wallpaper script Don't animate wallpaper by default for Vanguard --- system/Vanguard.nix | 1 - system/home/scripts/shell/animate-wallpaper.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Vanguard.nix b/system/Vanguard.nix index 1c5a3cab..45d3b6a1 100644 --- a/system/Vanguard.nix +++ b/system/Vanguard.nix @@ -68,7 +68,6 @@ "6, monitor:desc:${primary}" "7, monitor:desc:${primary}" ]; - exec-once = [ "sleep 2 && animate-wallpaper" ]; }; }; boot = { diff --git a/system/home/scripts/shell/animate-wallpaper.sh b/system/home/scripts/shell/animate-wallpaper.sh index 9c22a75b..b6ef8a94 100644 --- a/system/home/scripts/shell/animate-wallpaper.sh +++ b/system/home/scripts/shell/animate-wallpaper.sh @@ -5,5 +5,6 @@ if [ ! -f "$WALLPAPER_FILE" ]; then fi systemctl --user start swww-daemon.service && + sleep 5 && swww img "$WALLPAPER_FILE" && systemctl --user stop hyprpaper.service