Skip to content

Instantly share code, notes, and snippets.

@jesseky
Created April 20, 2016 07:48
Show Gist options
  • Save jesseky/86ba721a102fce4382661898c62898c6 to your computer and use it in GitHub Desktop.
Save jesseky/86ba721a102fce4382661898c62898c6 to your computer and use it in GitHub Desktop.
Linux gnome设置壁纸
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