[profile] actually kill s6 services on dwl exit

This commit is contained in:
odrling 2023-10-16 01:52:06 +02:00
parent e1da7d36a5
commit 3ade94b7cf
No known key found for this signature in database
GPG key ID: A0145F975F9F8B75

View file

@ -34,7 +34,8 @@ 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"
pgrep dwl || dbus-launch --exit-with-session dwl -s "wlstart"
exec s6-svscanctl -t ~/.s6
elif command -v startx > /dev/null; then
pgrep xinit || exec startx
fi