scripts/sway/wallpapers.service

15 lines
431 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/distrobox/debian12/wallpaper.pl -d --path=/home/jpm/wallpapers `cat /var/home/%u/.spool/wallpaper_outputs`
Restart=always
TimeoutSec=5
[Install]
WantedBy=graphical.target