diff --git a/.xinitrc b/.xinitrc index bf4f377..bd66876 100644 --- a/.xinitrc +++ b/.xinitrc @@ -56,7 +56,7 @@ type compton >/dev/null 2>&1 && compton & type flashfocus >/dev/null 2>&1 && flashfocus -l never & # additional config options for Touchpad devices ONLY -if [ dmesg | grep "Touchpad" | wc -l > 0 ]; then +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 xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "libinput Tapping Enabled" 1 fi