Dynamic wallpaper script

This commit is contained in:
2018-03-17 16:52:21 +00:00
parent b068ce48db
commit 624f93cad0
3 changed files with 10 additions and 2 deletions

8
bin/wallpaper Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
wallpapers=~/wallpapers
ls $wallpapers | sort -R | tail -1 | while read file; do
/usr/bin/feh --bg-fill $wallpapers/$file
done
exit 0