mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
14 lines
550 B
Desktop File
14 lines
550 B
Desktop File
[Unit]
|
|
Description=Build a wallpaper for %I
|
|
PartOf=graphical-session@%i.target
|
|
|
|
[Service]
|
|
Environment=DISPLAY=%I
|
|
Environment=WALLPAPER_DIRECTORY=%h/.config/awesome/wallpapers
|
|
Environment=WALLPAPER_OUTPUT=%h/.cache/awesome/current-wallpaper-%i.png
|
|
ExecStart=%h/.config/awesome/bin/build-wallpaper --crop \
|
|
--directory $WALLPAPER_DIRECTORY \
|
|
--target $WALLPAPER_OUTPUT
|
|
ExecStart=/usr/bin/fvwm-root -r $WALLPAPER_OUTPUT
|
|
Type=oneshot
|
|
RemainAfterExit=false
|