Get outputs from configuration file

This commit is contained in:
John Mertz 2023-01-09 17:52:25 -05:00
parent da74bae7c1
commit c8912d288e
1 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@ 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"
#PIDFile=/var/home/%u/.spool/wallpaper.pid
WorkingDirectory=/var/home/%u/.spool
ExecStart=/usr/bin/distrobox enter debian12 -- "$HOME/scripts/sway/wallpaper.pl -d --path=/home/jpm/wallpapers `cat $HOME/.spool/wallpaper_outputs`"
#ExecStart=/var/home/%u/scripts/sway/wallpaper.pl -d --path=/home/jpm/wallpapers
Restart=always