Skip to content

Commit

Permalink
bind: new long press option (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
littleblack111 authored Nov 15, 2024
1 parent 052b616 commit 23caaee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/Configuring/Binds.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ Flags:
```plain
l -> locked, will also work when an input inhibitor (e.g. a lockscreen) is active.
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.
n -> non-consuming, key/mouse events will be passed to the active window in addition to triggering the dispatcher.
m -> mouse, see below.
Expand All @@ -228,6 +229,10 @@ bindr = SUPER, SUPER_L, exec, pkill wofi || wofi
# Describe a bind
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
```
Expand Down

0 comments on commit 23caaee

Please sign in to comment.