xonecas.io

rotator

node script to rotate your wallpaper. Coded to fetch from simpledesktops.com and work with gnome.

pre-AI small

1 commits · 2011-01-20 to 2011-01-20 · 4 files

Seanfirst commit26a1e612011-01-20
· README 2011-01-20
· rotator.js 2011-01-20
· rotator.log 2011-01-20
· rotator.sh 2011-01-20

README

/*
 * Author: Sean Caetano Martin
 * Description: script that reads all the files in a directory and
 * sets them as a random wallpaper. If you intend to use this, please
 * make sure you only have IMAGE files in the specified directory.
 * once the script is started you can set the walpaper to the rotator.png
 * that was just created in the pictures folder
 *
 * USAGE: node rotator.js ['/path/to/pictures_folder'] [interval=30]
 *
 * The path is relative to the root (/).
 * If you don't supply a folder, it will look for:
 *    cwd + '/Pictures' (default)
 * If you don't supply an interval it will default to 30 min
 */

this needs to be updated.