set sxhkd to autostart on xinit

Checks for existence of the program, and then starts it. Does nothing if
sxhkd is not installed (fails silently).
This commit is contained in:
Marty Oehme 2019-05-22 14:46:48 +02:00
parent 1f491f8f23
commit ccd25e65ea

View file

@ -55,6 +55,9 @@ type compton >/dev/null 2>&1 && compton &
# same deal with flashfocus as our active window indicator
type flashfocus >/dev/null 2>&1 && flashfocus -l never &
# if sxhkd - the key-binding daemon is installed, start it up
type sxhkd >/dev/null 2>&1 && sxhkd &
# additional config options for Touchpad devices ONLY
if [ $(dmesg | grep "Touchpad" | wc -l) > 0 ]; then
# enable touch tapping for XPS13 touchpad - for different devices get the touchpad name with xinput list-prop <TAB>