From 160500ab1d8d3fc3dc611ddf7f007b47cf770fa5 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Fri, 9 Sep 2022 00:07:54 +0200 Subject: [PATCH] animated wallpaper script fix --- .local/share/scripts/animated-wallpaper-mpv.sh | 2 +- .local/share/scripts/animated-wallpaper.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/share/scripts/animated-wallpaper-mpv.sh b/.local/share/scripts/animated-wallpaper-mpv.sh index 55bcb13..0c5bfe8 100755 --- a/.local/share/scripts/animated-wallpaper-mpv.sh +++ b/.local/share/scripts/animated-wallpaper-mpv.sh @@ -1,2 +1,2 @@ #!/usr/bin/env sh -mpv --no-input-terminal --loop-file=inf $2 --wid=$1 --panscan=1.0 +mpv --no-input-terminal --loop-file=inf "$2" --wid="$1" --panscan=1.0 diff --git a/.local/share/scripts/animated-wallpaper.sh b/.local/share/scripts/animated-wallpaper.sh index 8b61e78..8e303ee 100755 --- a/.local/share/scripts/animated-wallpaper.sh +++ b/.local/share/scripts/animated-wallpaper.sh @@ -2,5 +2,5 @@ SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") -xwinwrap -fs -ov -ni -b -nf -- $SCRIPTPATH/animated-wallpaper-mpv.sh WID $1 +xwinwrap -fs -ov -ni -b -nf -- "$SCRIPTPATH/animated-wallpaper-mpv.sh" WID "$1"