diff options
Diffstat (limited to 'dwm/.dwm/autostart')
-rwxr-xr-x | dwm/.dwm/autostart | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dwm/.dwm/autostart b/dwm/.dwm/autostart index f793957..b288134 100755 --- a/dwm/.dwm/autostart +++ b/dwm/.dwm/autostart @@ -13,16 +13,16 @@ feh --auto-reload --bg-fill /usr/share/backgrounds/background.png & # Set up touchpad controls # Libinput -TID=$(xinput | sed -n 's/.*Touchpad.*id=\([0-9]*\).*/\1/p') -#xinput --set-prop $TID 'libinput Accel Speed' 0.5 -xinput --set-prop $TID 'libinput Tapping Enabled' 1 & -xinput --set-prop $TID 'libinput Natural Scrolling Enabled' 1 & +#TID=$(xinput | sed -n 's/.*Touchpad.*id=\([0-9]*\).*/\1/p') +##xinput --set-prop $TID 'libinput Accel Speed' 0.5 +#xinput --set-prop $TID 'libinput Tapping Enabled' 1 & +#xinput --set-prop $TID 'libinput Natural Scrolling Enabled' 1 & # Synapse -#TID=`xinput list | grep "SynPS/2 Synaptics TouchPad" | sed 's/.*id=\([0-9]*\).*/\1/g'` -#PROP_NO=`xinput list-props ${TID} | grep "Synaptics Scrolling Distance" | sed 's/.*(\([0-9]*\)).*/\1/g'` -#xinput --set-prop $TID 'Synaptics Tap Action' 1 -#xinput set-prop ${TID} ${PROP_NO} -106 -106 +TID=`xinput list | grep "SynPS/2 Synaptics TouchPad" | sed 's/.*id=\([0-9]*\).*/\1/g'` +PROP_NO=`xinput list-props ${TID} | grep "Synaptics Scrolling Distance" | sed 's/.*(\([0-9]*\)).*/\1/g'` +xinput --set-prop $TID 'Synaptics Tap Action' 1 +xinput set-prop ${TID} ${PROP_NO} -106 -106 # run bar script and dwm ( do not remove this ) SYMLINKDIR=$(readlink -f "$0") |