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,4 +1,4 @@
#!/usr/bin/env bash
printf '%s' "starting network tray application"
nm-applet &
systemd-run --remain-after-exit --user --setenv=DISPLAY=${DISPLAY} nm-applet