Skip to content

Instantly share code, notes, and snippets.

@soumitradev
Last active November 14, 2021 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soumitradev/92730547a751a828ae2ed12527875aaf to your computer and use it in GitHub Desktop.
Save soumitradev/92730547a751a828ae2ed12527875aaf to your computer and use it in GitHub Desktop.
Gestures for my Vanilla Gnome (no custom keyboard shortcuts)
#IMPORTANT: Needs libinput version >= 1.19 (do libinput --version), also, runs only on this fork:
# https://github.com/soumitradev/libinput-gestures
# Invalid lines
# Unsupported lines
# Swipe threshold (0-100)
swipe_threshold 20
timeout 0
# Gestures
gesture pinch clockwise xdotool key XF86AudioRaiseVolume
gesture pinch anticlockwise xdotool key XF86AudioLowerVolume
gesture pinch out 2 xdotool key ctrl+plus
gesture pinch in 2 xdotool key ctrl+minus
gesture swipe right 4 _internal ws_down
gesture swipe left 4 _internal ws_up
gesture swipe up 4 xdotool key XF86AudioPrev
gesture swipe down 4 xdotool key XF86AudioNext
gesture swipe left 3 xdotool key alt+Tab
gesture swipe right 3 xdotool key alt+Tab
gesture swipe up 3 40 xdotool key XF86AudioRaiseVolume
gesture swipe down 3 40 xdotool key XF86AudioLowerVolume
gesture hold on 4 xdotool key XF86AudioPlay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment