Created
April 20, 2016 07:48
-
-
Save jesseky/86ba721a102fce4382661898c62898c6 to your computer and use it in GitHub Desktop.
Linux gnome设置壁纸
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
dir='/home/kirigayaloveyousei/Wallpaper/' | |
while :; do | |
for d in $(ls -F $dir|grep /); do | |
for f in $(ls $dir$d); do | |
gsettings set org.gnome.desktop.background picture-uri file://$dir$d$f | |
echo "正在设置壁纸,壁纸来自:" $dir$d$f | |
sleep 60 | |
done | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment