Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ wpg Public archive

Generates the XML file for cycling gnome desktop wallpapers.

License

Notifications You must be signed in to change notification settings

dlom/wpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPG

WPG: The "Wallpaper Generator"

Or more accurately, the Gnome Desktop Cycling Wallpaper XML File Generator Kind of a mouthful, eh? That's why it's "wpg" and not "gdcwxfg"

Installation

npm install -g wpg

Command Line Usage

wpg in a folder that has at least two images.

This will generate an XML file that has the same name as the current folder. You can then open System -> Preferences -> Appearance -> Background and select the XML file.

That was easy.

Programmatic Usage

To use programmatically, you need to install locally.

npm install wpg

wpg = require("wpg")
outXML = wpg.generateXMLFile()

generateXMLFile() has an optional argument which is the number of seconds that each image is displayed. The default is 1800, or 30 minutes.

Written in coffeescript for the lulz

About

Generates the XML file for cycling gnome desktop wallpapers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published