https://github.com/ajsquared/gnome-wallpaper-slideshow
Ruby gem for creating and interacting with the XML files that define wallpaper slideshows in GNOME
https://github.com/ajsquared/gnome-wallpaper-slideshow
Last synced: about 1 year ago
JSON representation
Ruby gem for creating and interacting with the XML files that define wallpaper slideshows in GNOME
- Host: GitHub
- URL: https://github.com/ajsquared/gnome-wallpaper-slideshow
- Owner: ajsquared
- License: mit
- Created: 2013-01-11T22:17:38.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T22:46:04.000Z (over 5 years ago)
- Last Synced: 2024-04-18T14:34:49.033Z (about 2 years ago)
- Language: Ruby
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# gnome-wallpaper-slideshow #
gnome-wallpaper-slideshow is a Ruby gem that allows you to create and
interact with the XML files that define wallpaper slideshows in GNOME.
It supports both creating slideshows from scratch and loading existing
slideshows.
## Example Usage ##
slideshow = GnomeWallpaperSlideshow.new do
create_new_slideshow "slideshow.xml"
start_time Time.local 2013, 1, 13, 0, 0, 0 # Start the slideshow at midnight
add_wallpaper "test.jpg", 3600, 5 # Display this image for 1 hour with a 5 sec transition
add_wallpaper "other.jpg" 1800, 5 # Display this image for 30 minutes with a 5 sec transition
end
slideshow.save_xml
## Installation ##
gem install gnome-wallpaper-slideshow
## Sample Program ##
gnome-wallpaper-slideshow is distributed with a sample application
called create-slideshow. This script takes the name of a directory
containing image files, the amount of time to display each image, the
transition time, and an output filename and produces a slideshow XML
file.
## License ##
gnome-wallpaper-slideshow is MIT licensed. See LICENSE.txt for
details.