[profile] stop services on session exit

This commit is contained in:
odrling 2023-10-15 07:05:11 +02:00
parent 7f62fe43a3
commit d3e0d79bfe
No known key found for this signature in database
GPG key ID: A0145F975F9F8B75

View file

@ -33,7 +33,9 @@ fi
ulimit -c unlimited
if [ "$(tty)" = '/dev/tty1' ]; then
if command -v dwl > /dev/null; then
export XDG_CURRENT_DESKTOP=dwl
pgrep dwl || exec dbus-launch --exit-with-session dwl -s "wlstart"
s6-svscanctl -t ~/.s6
elif command -v startx > /dev/null; then
pgrep xinit || exec startx
fi