Add create_gnome_slideshow

This commit is contained in:
James H
2021-11-28 11:26:01 +00:00
parent 13bead41c2
commit 47770eda6f
2 changed files with 136 additions and 1 deletions

View File

@@ -1,3 +1,17 @@
# Python Scripts
Useful Python scripts :)
Useful Python scripts :)
## Scripts
### create_gnome_slideshow.py
Usage:
```bash
python3 create_gnome_slideshow.py [-r] [--name SlideshowName] [--xmlpath /path/to/save/xml] /path/to/images/folder
```
This script generates the XML files required to add a slideshow of images to GNOME desktop:
- An XML file declaring the slideshow name and options
- This will always be created at `$HOME/.local/share/gnome-background-properties/slideshow-name.xml`
- An XML file containin the images to use.
- This is created at the `xmlpath` argument location
- It will create an entry for all of the images in the given folder