Systemd Unit for wallpaper.pl

This commit is contained in:
John Mertz 2022-07-25 18:43:35 -04:00
parent a864b85df1
commit f1f94b6df4
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
1 changed files with 12 additions and 0 deletions

12
sway/wallpapers.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Rotate through cropped wallpapers for %u
[Service]
Type=forking
PIDFile=/tmp/%u-wallpaper.pid
WorkingDirectory=/tmp
ExecStart=/var/home/%u/scripts/sway/wallpaper.pl -d --path=/home/jpm/wallpapers
Restart=always
[Install]
WantedBy=graphical.target