mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-02 17:24:27 +02:00
This is derived from my Awesome configuration. Still a lot to do from a WM perspective. The organization is a bit different and I am giving it up on the per-display systemd units as it does not really work due to the fact we only have one user DBus and one environment.
14 lines
540 B
Desktop File
14 lines
540 B
Desktop File
[Unit]
|
|
Description=Build and display wallpaper
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Environment=WALLPAPER_DIRECTORY=%h/.config/i3/wallpapers
|
|
Environment=WALLPAPER_OUTPUT=%h/.cache/i3/current-wallpaper.png
|
|
ExecStart=/usr/bin/mkdir -p %h/.cache/i3
|
|
ExecStart=%h/.config/i3/bin/build-wallpaper --crop \
|
|
--directory $WALLPAPER_DIRECTORY \
|
|
--target $WALLPAPER_OUTPUT
|
|
ExecStart=/usr/bin/fvwm-root -r $WALLPAPER_OUTPUT
|
|
Type=oneshot
|
|
RemainAfterExit=false
|