This Python programs allows you to set Dynamic Wallpapers from MacOS (in the HEIC format) as your background.
- Read HEIC file and set wallpaper
- Update wallpaper at times specified in the HEIC file
- Wallpaper updating command can be specified
- HEIC files using the sun position are currently not supported, but hopefully in the future
- Systemd (For automatic updating)
- exiftool
- libheif
Note that both exiftool
and heif-convert
(part of libheif) have to be in your PATH.
Currently, the program is not available on pypi and has to be cloned manually. After that you can use
python3 path/to/cloned/repo/dynwalls
to run the program.
First, specify a command that will set your wallpaper given a jpg image:
dynwalls setcmd 'feh --bg-fill --no-fehbg {}'
You can use a custom shellscript for more complicated setups, just make sure it is available in your PATH.
Then, specify a dynamic wallpaper to use:
dynwalls use mojave.heic
This will install a systemd user service and a systemd timer which are not yet activated.
Sadly, wallpapers that use the sun position are not yet supported. The program will tell you if the passed picture is not supported.
Then, enable automatic updating of your wallpaper:
dynwalls enable
This will activate the systemd timer.
If you want to disable the automatic updating use:
dynwalls disable
You can run
journalctl --user -u dynamicwalls
to see possible error messages.
If you use a transparent status bar and are having contrast problems, take a look at STATUS_BARS.md