Use systemd user unit for long-running stuff
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
wallpaper="$LIBDIR/wallpaper/current"
|
||||
|
||||
printf '%s' "setting wallpaper"
|
||||
feh --bg-scale "${wallpaper}"
|
||||
systemd-run --remain-after-exit --user --setenv=DISPLAY=${DISPLAY} feh --bg-scale "${wallpaper}"
|
||||
|
||||
Reference in New Issue
Block a user