Skip to content

Instantly share code, notes, and snippets.

@mytory
Last active December 30, 2015 03:59
Show Gist options
  • Save mytory/7772649 to your computer and use it in GitHub Desktop.
Save mytory/7772649 to your computer and use it in GitHub Desktop.
Select a file on specified directory, and set that to wallpaper using Esetroot. I'm using this script to change wallpaper by 5 minutes on fluxbox with cron.
#!/bin/sh
filename=$(shuf -n1 -e /home/mytory/wallpapers/*)
Esetroot -f $filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment