fusuma: switch to ydotool on wayland

This commit is contained in:
surtur 2022-04-16 22:27:41 +02:00
parent 58f7545f4e
commit 27c0a1560e
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -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: