config: allow configuring the pointer-revert-key
This commit is contained in:
parent
7b62909bb4
commit
599f0a8ae5
12 changed files with 98 additions and 4 deletions
|
|
@ -2555,6 +2555,27 @@ Config:
|
|||
match.title-regex = "Spotify"
|
||||
action = { type = "move-to-workspace", name = "music" }
|
||||
```
|
||||
pointer-revert-key:
|
||||
kind: string
|
||||
required: false
|
||||
description: |
|
||||
Sets the keysym that can be used to revert the pointer to the default state.
|
||||
|
||||
Pressing this key cancels any grabs, drags, selections, etc.
|
||||
|
||||
The default is `Escape`. Setting this to `NoSymbol` effectively disables
|
||||
this functionality.
|
||||
|
||||
The value of the string should be the name of a keysym. The authoritative location
|
||||
for these names is [1] with the `XKB_KEY_` prefix removed.
|
||||
|
||||
[1]: https://github.com/xkbcommon/libxkbcommon/blob/master/include/xkbcommon/xkbcommon-keysyms.h
|
||||
|
||||
- Example:
|
||||
|
||||
```toml
|
||||
pointer-revert-key = "NoSymbol"
|
||||
```
|
||||
|
||||
|
||||
Idle:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue