Skip to content

Instantly share code, notes, and snippets.

@insdavm
Last active December 21, 2018 15:13
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 insdavm/db2c1d07bafbb7bfb1adb9e9226e1f60 to your computer and use it in GitHub Desktop.
Save insdavm/db2c1d07bafbb7bfb1adb9e9226e1f60 to your computer and use it in GitHub Desktop.
Gestures for libinput on a MacBook Pro running KDE Plasma 5.14
# I have 4 workspaces arranged in a quad pattern...
# [ 1 ][ 2 ]
# [ 3 ][ 4 ]
# up/down/left/right moves to the next workspace:
gesture swipe up 3 xdotool key ctrl+alt+Down
gesture swipe down 3 xdotool key ctrl+alt+Up
gesture swipe left 3 xdotool key ctrl+alt+Left
gesture swipe right 3 xdotool key ctrl+alt+Right
# Tie libinput-gestures to the touchpad, find device name
# with xinput --list (look for 'pointer')
device bcm5974
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment