Systemd Unit for wallpaper.pl
This commit is contained in:
parent
c607015ade
commit
55c2a73737
|
@ -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
|
Loading…
Reference in New Issue