dotfiles/.config/fusuma/config-wl.yml
2023-07-11 17:56:04 +02:00

56 lines
1.3 KiB
YAML

---
threshold:
swipe: 1
pinch: 1
interval:
swipe: 1
pinch: 1
swipe:
3:
left:
sendkey: "LEFTMETA+LEFTSHIFT+DOT"
# sway-specific: get a separate config
# command: "swaymsg 'workspace next'"
threshold: 0.2
interval: 0.5
right:
sendkey: "LEFTMETA+LEFTSHIFT+COMMA"
# sway-specific: get a separate config
# command: "swaymsg 'workspace prev'"
threshold: 0.2
interval: 0.5
4:
left:
sendkey: "LEFTALT+RIGHT"
keypress:
LEFTMETA:
# 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: 'ydotool key 115:1 115:0' # volume up
threshold: 0.0485
pinch:
in:
sendkey: "LEFTCTRL+EQUAL"
threshold: 0.0485
out:
sendkey: "LEFTCTRL+MINUS"
threshold: 0.0485
plugin:
inputs:
libinput_command_input:
# show-keycode: true
# verbose: true