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:
parent
1f491f8f23
commit
ccd25e65ea
1 changed files with 3 additions and 0 deletions
3
.xinitrc
3
.xinitrc
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue