xonecas.io
11
Ro

rotator / files

rotator / README

653 bytes
1/*
2 * Author: Sean Caetano Martin
3 * Description: script that reads all the files in a directory and
4 * sets them as a random wallpaper. If you intend to use this, please
5 * make sure you only have IMAGE files in the specified directory.
6 * once the script is started you can set the walpaper to the rotator.png
7 * that was just created in the pictures folder
8 *
9 * USAGE: node rotator.js ['/path/to/pictures_folder'] [interval=30]
10 *
11 * The path is relative to the root (/).
12 * If you don't supply a folder, it will look for:
13 *    cwd + '/Pictures' (default)
14 * If you don't supply an interval it will default to 30 min
15 */
16
17this needs to be updated.