Systemd Unit for wallpaper.pl
This commit is contained in:
parent
a864b85df1
commit
f1f94b6df4
|
@ -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