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

@@ -1,3 +1,3 @@
#!/usr/bin/env bash
dunst -config ~/.config/dunstrc &
systemd-run --remain-after-exit --user --setenv=DISPLAY=${DISPLAY} dunst -config ~/.config/dunstrc &