.dotfiles/systemd/wallpapers.service

16 lines
442 B
SYSTEMD

[Unit]
Description=Rotate through cropped wallpapers for %u
[Service]
Type=forking
#PIDFile=/var/home/%u/.spool/wallpaper.pid
WorkingDirectory=/var/home/%u/.spool
#ExecStart=/var/home/%u/scripts/distrobox/debian12/wallpaper.pl
ExecStart=/var/home/%u/scripts/sway/wallpaper.pl -d --path=/home/jpm/wallpapers `cat /var/home/%u/.spool/wallpaper_outputs`
Restart=always
TimeoutSec=5
[Install]
#WantedBy=graphical.target
WantedBy=default.target