From c061ec714f0e8215fae975db1d8362b7b5329c87 Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 25 Jun 2020 21:29:07 +0200 Subject: [PATCH] added animated wallpapers scripts --- .local/share/scripts/animated-wallpaper-mpv.sh | 2 ++ .local/share/scripts/animated-wallpaper.sh | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100755 .local/share/scripts/animated-wallpaper-mpv.sh create mode 100755 .local/share/scripts/animated-wallpaper.sh 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 +