diff --git a/.local/share/scripts/animated-wallpaper-mpv.sh b/.local/share/scripts/animated-wallpaper-mpv.sh new file mode 100755 index 0000000..55bcb13 --- /dev/null +++ b/.local/share/scripts/animated-wallpaper-mpv.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +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 new file mode 100755 index 0000000..8b61e78 --- /dev/null +++ b/.local/share/scripts/animated-wallpaper.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +SCRIPT=$(readlink -f "$0") +SCRIPTPATH=$(dirname "$SCRIPT") +xwinwrap -fs -ov -ni -b -nf -- $SCRIPTPATH/animated-wallpaper-mpv.sh WID $1 +