Orbifx's Logarion 🌙
Title:
Desktop background of animated pixel art
Authors:
orbifx
Date:
Topics:
Technology > Software
Keywords:
desktop, gif, mpv, wallpaper
Id:
31eaf1ac-c8df-47f8-9e7d-26ab91e11a99

Ever found some animated pixel art you wanted as your desktop background?

Download images and animations into a directory. Use the script below to play the contents of a directory as a playlist, at reduced speed, on a loop:

#!/usr/bin/bash mpv --wid=0 --image-display-duration=1 --loop-file=5 --speed=0.5 --loop-playlist=inf Downloads/pixelart

Mpv: is a video player <https://mpv.io>

The parameters meaning: `wid=0`: display on background `image-display-duration`: how many seconds to show a static image (jpg, png, etc) for `loop-file`: how many times to replay a single file `speed`: playback speed relative to its normal speed `loop-playlist`: how many times to replay the list, `inf` is _infinate_. `Downloads/pixelart`: the directory path