Last active
May 3, 2020 18:23
-
-
Save dnutiu/d9f01946fd19315161fe641ebedd6e6a to your computer and use it in GitHub Desktop.
Fusuma trackpad gestures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sudo gpasswd -a $USER input | |
# sudo apt-get install libinput-tools | |
# sudo apt-get install xdotool | |
# sudo apt install ruby | |
# sudo gem install fusuma | |
# nano ~/.config/fusuma/config.yml | |
swipe: | |
3: | |
left: | |
command: 'xdotool key ctrl+alt+Up' | |
right: | |
command: 'xdotool key ctrl+alt+Down' | |
up: | |
command: 'xdotool key super' | |
down: | |
command: 'xdotool key super' | |
pinch: | |
2: | |
in: | |
command: 'xdotool key ctrl+plus' | |
threshold: 0.1 | |
out: | |
command: 'xdotool key ctrl+minus' | |
threshold: 0.1 | |
threshold: | |
swipe: 1 | |
pinch: 0.8 | |
interval: | |
swipe: 1 | |
pinch: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment