Created
November 21, 2017 20:34
-
-
Save realazizk/831f6072a80e373d69e0d25dbbe634a0 to your computer and use it in GitHub Desktop.
Change random wallpaper every 5 minutes
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
while true; do feh --bg-fill $(ls -d1 ~/walls/*|grep -v /$|grep -E ".png|.jpg|.jpeg|.bmp"|python -c "import sys, random; print(random.choice(sys.stdin.read().splitlines()))") && sleep 300; done & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment