mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-17 02:25:58 +01:00
bind: new long press option (#867)
for https://github.com/hyprwm/Hyprland/pull/8302
This commit is contained in:
parent
052b616ffe
commit
23caaeea4a
1 changed files with 5 additions and 0 deletions
|
@ -203,6 +203,7 @@ Flags:
|
||||||
```plain
|
```plain
|
||||||
l -> locked, will also work when an input inhibitor (e.g. a lockscreen) is active.
|
l -> locked, will also work when an input inhibitor (e.g. a lockscreen) is active.
|
||||||
r -> release, will trigger on release of a key.
|
r -> release, will trigger on release of a key.
|
||||||
|
o -> longPress, will trigger on long press of a key.
|
||||||
e -> repeat, will repeat when held.
|
e -> repeat, will repeat when held.
|
||||||
n -> non-consuming, key/mouse events will be passed to the active window in addition to triggering the dispatcher.
|
n -> non-consuming, key/mouse events will be passed to the active window in addition to triggering the dispatcher.
|
||||||
m -> mouse, see below.
|
m -> mouse, see below.
|
||||||
|
@ -228,6 +229,10 @@ bindr = SUPER, 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
|
||||||
|
|
||||||
|
# Skip player on long press and only skip 5s on normal press
|
||||||
|
bindo = SUPER, XF86AudioNext, exec, playerctl next
|
||||||
|
bind = SUPER, XF86AudioNext, exec, playerctl position +5
|
||||||
|
```
|
||||||
# See Mouse Binds section for bindm usage
|
# See Mouse Binds section for bindm usage
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue