added animated wallpapers scripts

This commit is contained in:
Niklas 2020-06-25 21:29:07 +02:00
parent cd1f6e3f7d
commit c061ec714f
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
mpv --no-input-terminal --loop-file=inf $2 --wid=$1 --panscan=1.0

View File

@ -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