15 lines
825 B
SYSTEMD
15 lines
825 B
SYSTEMD
[Unit]
|
|
Description=Rotate through cropped wallpapers for %u
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/var/home/%u/.local/state/wallpaper.pid
|
|
WorkingDirectory=/var/home/%u/scripts/sway
|
|
Environment=PERL5LIB=/var/home/%u/scripts/sway/local/lib/perl5/x86_64-linux/:/var/home/jpm/scripts/sway/local/lib/perl5:/var/home/%u/.plenv/versions/5.38.2/lib/perl5/5.38.2/:/var/home/%u/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2:/var/home/%u/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2/x86_64-linux/:/var/home/%u/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:/var/home/%u/.local/usr/local/lib/perl5/5.38.0:/var/home/%u/perl5/lib/perl5:/var/home/%u/perl5/lib/perl5/x86_64-linux-thread-multi
|
|
ExecStart=/var/home/%u/.plenv/shims/perl /var/home/%u/scripts/sway/wallpaper.pl -d
|
|
Restart=always
|
|
TimeoutSec=5
|
|
|
|
[Install]
|
|
WantedBy=default.target
|