Skip to content

A side project I had after I got inspired by the multiple beautiful Neo Tokyo wallpapers I found. Too many of them and not enough time to see them so I just thought,: "Hey, let's use them all!"

License

Notifications You must be signed in to change notification settings

ch4dwick/gnome-wallpaper-randomizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

gnome-wallpaper-randomizer

A side project I had after I got inspired by the multiple beautiful Neo Tokyo wallpapers I found. Too many of them and not enough time to see them so I just thought,: "Hey, let's use them all!"

Installation

You don't need root access to use this script. Put the script anywhere in your home folder. Make it executable:

chmod +x gnome-wallpaper-randomizer.sh

Add to your personal cron.

crontab -e

Sample schedule to change the wallpaper every minute and piping any output to syslog.

*/1 * * * * /home/chad/gnome-background-switcher.sh "/path/to/wallpapers" | systemd-cat -t gnome-wallpaper-randomizer

Caveat: Always test this script in the cron NOT on your user shell as the environments for cron and shell are different.

Some assumptions

  • Target folder exists and is not empty.
  • The contents of the folder are all image types. If there are non-images, it will probably break.

References

About

A side project I had after I got inspired by the multiple beautiful Neo Tokyo wallpapers I found. Too many of them and not enough time to see them so I just thought,: "Hey, let's use them all!"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages