From db925ffeb882ed99a32a4aea4e9f2eff8aa90ca5 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Fri, 12 Dec 2025 11:05:48 -0500 Subject: [PATCH] Fixing wallpaper script --- modules/home/scripts/qs-vid-wallpapers-apply.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/home/scripts/qs-vid-wallpapers-apply.nix b/modules/home/scripts/qs-vid-wallpapers-apply.nix index a0e0fed..cf5fa30 100644 --- a/modules/home/scripts/qs-vid-wallpapers-apply.nix +++ b/modules/home/scripts/qs-vid-wallpapers-apply.nix @@ -75,9 +75,10 @@ pkgs.writeShellScriptBin "qs-vid-wallpapers-apply" '' ${pkgs.coreutils}/bin/sleep 0.2 # Build mpv options string based on audio toggle # Use --loop=inf for videos, more reliable than --loop-file=inf - opts="--loop=inf --no-audio --no-osc --no-osd-bar --keep-open=yes" if [ "$audio" = "ON" ]; then - opts="${opts/--no-audio/}" + opts="--loop=inf --no-osc --no-osd-bar --keep-open=yes" + else + opts="--loop=inf --no-audio --no-osc --no-osd-bar --keep-open=yes" fi if [ -n "$DEBUG" ]; then ${pkgs.mpvpaper}/bin/mpvpaper \