scripts/sway/wallpapers.service

14 lines
381 B
SYSTEMD

[Unit]
Description=Rotate through cropped wallpapers for %u
[Service]
Type=forking
PIDFile=/tmp/%u-wallpaper.pid
WorkingDirectory=/tmp
ExecStart=/usr/bin/distrobox enter debian12 -- "$HOME/scripts/sway/wallpaper.pl -d --path=/home/jpm/wallpapers"
#ExecStart=/var/home/%u/scripts/sway/wallpaper.pl -d --path=/home/jpm/wallpapers
Restart=always
[Install]
WantedBy=graphical.target