From c8bd6f35a4e5ac5ddc5ebbabb1a37ffdc04724bb Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 30 Aug 2021 23:50:19 +0200 Subject: [PATCH] wallpaper: take a note on how to get an animated wallpaper --- bin/wallpaper | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/wallpaper b/bin/wallpaper index 355778d..83781d3 100755 --- a/bin/wallpaper +++ b/bin/wallpaper @@ -2,6 +2,15 @@ """Build a multi screen wallpaper.""" +# Alternative: +# curl -s https://bzamayo.com/extras/apple-tv-screensavers.json \ +# | jq -r '.data[].screensavers[].videoURL' \ +# | shuf \ +# | xargs nix run nixpkgs.xwinwrap -c \ +# xwinwrap -b -s -fs -st -sp -nf -ov -- \ +# mpv -wid WID -really-quiet -framedrop=vo --no-audio --panscan=1.0 \ +# -loop-playlist=inf + import os import sys import random