diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-07-05 09:10:48 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-07-05 08:40:25 +0300 |
| commit | c8411e55d9333174114496a14f0a23abf4a36b7d (patch) | |
| tree | 5f30244cc2b5a813b6fa31d78db59933c5113ae8 | |
| parent | d3aebdbec4ae2c1ac4199cdd4e95a8d218362b25 (diff) | |
| download | niri-c8411e55d9333174114496a14f0a23abf4a36b7d.tar.gz niri-c8411e55d9333174114496a14f0a23abf4a36b7d.tar.bz2 niri-c8411e55d9333174114496a14f0a23abf4a36b7d.zip | |
wiki: Mention bind key repeat
| -rw-r--r-- | wiki/Configuration:-Key-Bindings.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wiki/Configuration:-Key-Bindings.md b/wiki/Configuration:-Key-Bindings.md index b303374f..231786b9 100644 --- a/wiki/Configuration:-Key-Bindings.md +++ b/wiki/Configuration:-Key-Bindings.md @@ -50,6 +50,15 @@ For this reason, most of the default keys use the `Mod` modifier. > Here, look at `sym: Left` and `sym: Right`: these are the key names. > I was pressing the left and the right arrow in this example. +Binds will do key repeat by default (i.e. holding down a bind will make it trigger repeatedly). +You can disable that for specific binds with `repeat=false`: + +``` +binds { + Mod+T repeat=false { spawn "alacritty"; } +} +``` + Binds can also have a cooldown, which will rate-limit the bind and prevent it from repeatedly triggering too quickly. ``` |
