xprofile: open termite if sxhkd fails to launch

This commit is contained in:
Henrik Lissner 2016-11-05 16:28:45 +01:00
parent 4f2fb7e84e
commit 74c679930d

View file

@ -32,4 +32,9 @@ running ssh-agent || eval $(ssh-agent)
# window manager helpers
compton &
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 &
} &