Add libinput gestures
This commit is contained in:
parent
6fd35bc232
commit
044f3167cd
|
@ -1,9 +1,12 @@
|
|||
gesture swipe right 3 bspc desktop -f next
|
||||
gesture swipe left 3 bspc desktop -f prev
|
||||
gesture swipe left 3 bspc desktop -f next
|
||||
gesture swipe right 3 bspc desktop -f prev
|
||||
|
||||
gesture swipe up 3 xdotool key XF86AudioRaiseVolume
|
||||
gesture swipe down 3 xdotool key XF86AudioLowerVolume
|
||||
|
||||
gesture swipe left 4 xdotool key alt+Right
|
||||
gesture swipe right 4 xdotool key alt+Left
|
||||
|
||||
# GNOME SHELL open/close overview (works for GNOME on Xorg only)
|
||||
#gesture pinch in xdotool key super+s
|
||||
#gesture pinch out xdotool key super+s
|
||||
|
@ -21,7 +24,7 @@ gesture swipe down 3 xdotool key XF86AudioLowerVolume
|
|||
# are actioned using the swipe_threshold configuration command.
|
||||
# Specify this value in dots. The default is 0.
|
||||
# E.g. set it to 100 dots with "swipe_threshold 100".
|
||||
swipe_threshold 50
|
||||
swipe_threshold 25
|
||||
|
||||
###############################################################################
|
||||
# You can set a timeout on gestures from start to end. The default is
|
||||
|
|
|
@ -44,10 +44,14 @@ if command -v xcape >/dev/null 2>&1; then
|
|||
xcape -e 'Control_L=Escape' &
|
||||
fi
|
||||
|
||||
if command -v autocutsel >/dev/null 2>&1; then
|
||||
if command -v autocutsel &> /dev/null; then
|
||||
autocutsel -fork &
|
||||
fi
|
||||
|
||||
if command -v libinput-gestures-setup &> /dev/null; then
|
||||
libinput-gestures-setup start
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.env_xprofile" ]; then
|
||||
source "$HOME/.env_xprofile"
|
||||
fi
|
||||
|
|
|
@ -45,4 +45,5 @@ pacaur --needed -S \
|
|||
ncdu `# Disk Usage Analyzer` \
|
||||
zathura zathura-pdf-mupdf `# Document Viewer` \
|
||||
scrot `# Screenshot Tool` \
|
||||
libinput libinput-gestures `# Trackpad Control` \
|
||||
--noconfirm --noedit
|
||||
|
|
Reference in a new issue