Last active
October 24, 2018 20:21
-
-
Save SubhrajitPrusty/0c9c89e81bb1e6556fbb85083e47acf1 to your computer and use it in GitHub Desktop.
Set an animated wallpaper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use ffmpeg to get images from video | |
# ffmpeg -i input.mp4 -vf fps=30 ~/gif/giffy%03d.bmp | |
# gets 30 images per second | |
# use -ss to skip to time, and -t to set duration | |
# script is better than standalone command, due to behavior when force quitting | |
while true; do for i in ~/gif/*.*; do feh --bg-fill $i; done; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment