fixup mod-only binds with aq

This commit is contained in:
Vaxry 2024-07-21 16:47:38 +02:00
parent 3d68d0d90e
commit 2e89405bf2

View file

@ -80,13 +80,15 @@ will bind it to <key>SUPER</key> + <key>LMB</key>.
### Only modkeys ### Only modkeys
For binding only modkeys, you need to use the TARGET modmask (with the For binding only modkeys, you need to use the SOURCE modmask (without the
activating mod) and the `r` flag, e.g.: activating mod) and the `r` flag, e.g.:
```ini ```ini
bindr=SUPERALT,Alt_L,exec,amongus bindr=SUPER,Alt_L,exec,amongus
``` ```
Will bind `exec amongus` to <key>SUPER</key> + <key>ALT</key>
### Keysym combos ### Keysym combos
For an arbitrary combination of multiple keys, separate keysyms with `&` between For an arbitrary combination of multiple keys, separate keysyms with `&` between
@ -200,7 +202,7 @@ binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@
bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
# Start wofi opens wofi on first press, closes it on second # Start wofi opens wofi on first press, closes it on second
bindr=SUPER, SUPER_L, exec, pkill wofi || wofi bindr=, SUPER_L, exec, pkill wofi || wofi
# Describe a bind # Describe a bind
bindd=SUPER,Q,Open my favourite terminal,exec,kitty bindd=SUPER,Q,Open my favourite terminal,exec,kitty