Use systemd user unit for long-running stuff

This commit is contained in:
2018-08-20 18:45:35 +02:00
parent dc73231892
commit f0c44fe73b
6 changed files with 6 additions and 6 deletions

View File

@@ -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}"