From 14f91811fe3890b20072702653407248b09e8794 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 6 Apr 2020 04:35:55 +0200 Subject: [PATCH] updated fusuma - added gestures --- config/fusuma/config.yml | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/config/fusuma/config.yml b/config/fusuma/config.yml index df00589..7b2dc60 100644 --- a/config/fusuma/config.yml +++ b/config/fusuma/config.yml @@ -1,12 +1,3 @@ -#pinch: -# 2: -# in: -# command: 'xdotool key ctrl+plus' -# threshold: 0.15 -# out: -# command: 'xdotool key ctrl+minus' -# threshold: 0.15 - threshold: swipe: 1 pinch: 1 @@ -21,12 +12,10 @@ swipe: command: 'xdotool key alt+ctrl+Right' threshold: 0.2 interval: 0.5 - #command: xdotool keydown alt && sleep .1 && xdotool key Tab && sleep 5 && xdotool keyup alt right: command: 'xdotool key alt+ctrl+Left' threshold: 0.2 interval: 0.5 - #command: 'xdotool keydown alt keydown Shift key Tab keyup Shift keyup alt' up: command: 'xdotool key alt+ctrl+Up' interval: 0.3 @@ -36,20 +25,38 @@ swipe: 4: up: command: 'xdotool key super+h' + keypress: + LEFTMETA: + command: 'xdotool key --clearmodifiers XF86MonBrightnessUp' + threshold: 0.0485 down: command: 'xdotool key super+d' + keypress: + LEFTMETA: + command: 'xdotool key --clearmodifiers XF86MonBrightnessDown' + threshold: 0.0485 left: command: 'xdotool key alt+Right' + keypress: + LEFTMETA: + command: 'xdotool key --clearmodifiers XF86AudioLowerVolume' + threshold: 0.0485 right: command: 'xdotool key alt+Left' + keypress: + LEFTMETA: + command: 'xdotool key --clearmodifiers XF86AudioRaiseVolume' + threshold: 0.0485 + pinch: in: command: 'xdotool key ctrl+equal' - threshold: 0.15 - interval: 0.2 + threshold: 0.0485 out: command: 'xdotool key ctrl+minus' - threshold: 0.15 - interval: 0.2 - + threshold: 0.0485 +plugin: + inputs: + libinput_command_input: + verbose: true