This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/libinput/gestures.conf

34 lines
1.3 KiB
Plaintext

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
# KDE Plasma open/close overview
#gesture pinch in xdotool key ctrl+F9
#gesture pinch out xdotool key ctrl+F9
# Optional extended pinch gestures:
#gesture pinch clockwise <whatever command>
#gesture pinch anticlockwise <whatever command>
###############################################################################
# You can set a minimum travel distance threshold before swipe gestures
# 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 25
###############################################################################
# You can set a timeout on gestures from start to end. The default is
# the value commented below. It can be any value in float secs >= 0.
# 0 = no timeout. E.g. set it to 2 secs with "timeout 2".
timeout 0.9