From 27c0a1560eac62dff521a6e6c28789cdc84d36e2 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 16 Apr 2022 22:27:41 +0200 Subject: [PATCH] fusuma: switch to ydotool on wayland --- .config/fusuma/config-wl.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/fusuma/config-wl.yml b/.config/fusuma/config-wl.yml index ee2f9a2..42bc138 100644 --- a/.config/fusuma/config-wl.yml +++ b/.config/fusuma/config-wl.yml @@ -21,13 +21,18 @@ swipe: sendkey: "LEFTALT+RIGHT" keypress: LEFTMETA: - command: 'xdotool key --clearmodifiers XF86AudioLowerVolume' + # command: 'xdotool key --clearmodifiers XF86AudioLowerVolume' + # ydotool >v1.0.0 uses direct keycodes, have a look at + # /usr/include/linux/input-event-codes.h + # ref: https://github.com/ReimuNotMoe/ydotool/tree/81195bfde8f9b5218e6e87bbd6f6e362a7653aad#changelog + command: 'ydotool key 114:1 114:0' # volume down threshold: 0.0485 right: sendkey: "LEFTALT+LEFT" keypress: LEFTMETA: - command: 'xdotool key --clearmodifiers XF86AudioRaiseVolume' + # command: 'xdotool key --clearmodifiers XF86AudioRaiseVolume' + command: 'ydotool key 115:1 115:0' # volume up threshold: 0.0485 pinch: