add wlstart script to properly start dwl & services
This commit is contained in:
parent
fa906377ab
commit
2f5a85b2ee
8
.local/odrbin/wlstart
Executable file
8
.local/odrbin/wlstart
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
s6-svscanctl -t ~/.s6
|
||||
s6-svscan ~/.s6 &
|
||||
|
||||
mkfifo /tmp/dwl_status
|
||||
cat /dev/stdin > /tmp/dwl_status
|
||||
|
2
.profile
2
.profile
|
@ -33,7 +33,7 @@ fi
|
|||
ulimit -c unlimited
|
||||
if [ "$(tty)" = '/dev/tty1' ]; then
|
||||
if command -v dwl > /dev/null; then
|
||||
pgrep dwl || exec dbus-launch --exit-with-session dwl -s "s6-svscan ~/.s6"
|
||||
pgrep dwl || exec dbus-launch --exit-with-session dwl -s "wlstart"
|
||||
elif command -v startx > /dev/null; then
|
||||
pgrep xinit || exec startx
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue