xprofile: open termite if sxhkd fails to launch
This commit is contained in:
parent
4f2fb7e84e
commit
74c679930d
|
@ -32,4 +32,9 @@ running ssh-agent || eval $(ssh-agent)
|
||||||
# window manager helpers
|
# window manager helpers
|
||||||
compton &
|
compton &
|
||||||
sxhkd &
|
sxhkd &
|
||||||
|
|
||||||
|
# If sxhkd isn't running, something is wrong and we're stuck. Instead, open
|
||||||
|
# a terminal so I can do something about it
|
||||||
|
sleep 3
|
||||||
|
running sxhkd || termite &
|
||||||
} &
|
} &
|
||||||
|
|
Loading…
Reference in a new issue