Commit: e0e9077a9081288fdcac0692c74f4dacd1be1aed
Parent: 18a143acbad1da52a446d81c37c99317bebb6f8a
Author: Randy Palamar
Date: Sun, 14 May 2023 19:50:23 -0600
xinitrc: use setsid -f instead of keeping a shell around
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
@@ -7,7 +7,7 @@ pidof -q cron || cron -f ~/.config/cron/crontab
as="mpd mpdidle status xbanish"
for cmd in $as; do
- pidof -q "$cmd" || "$cmd" &
+ pidof -q "$cmd" || setsid -f "$cmd"
done >/dev/null 2>&1
xset s off -dpms