mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
keyboard: Expand explanation for xkb_options
parent
57feb2db62
commit
65664f9ffb
3
Home.md
3
Home.md
@ -189,6 +189,8 @@ See `man 7 xkeyboard-config` for options you can use with the `xkb_layout`, `xkb
|
||||
|
||||
User-specific settings such as symbols will be loaded from their respective directories in `~/.xkb/` or `$XDG_CONFIG_HOME/xkb/`.
|
||||
|
||||
A lot of modifications are available through `xkb_options`. They can be found in `/usr/share/X11/xkb/symbols/{altwin,capslock,compose,ctrl}` and the respective option name in `/usr/share/X11/xkb/rules/base`.
|
||||
|
||||
**Examples**:
|
||||
|
||||
* Make caps lock work as escape: `xkb_options caps:escape`
|
||||
@ -196,6 +198,7 @@ User-specific settings such as symbols will be loaded from their respective dire
|
||||
* Make caps lock work as control: `xkb_options ctrl:nocaps`
|
||||
* Make caps lock work as additional control `xkb_options caps:ctrl_modifier`
|
||||
* Swap left alt and super, *and* set caps lock to escape: `xkb_options altwin:swap_lalt_lwin,caps:escape`
|
||||
* Make the menu key work as additional super: `xkb_options altwin:menu_win`
|
||||
|
||||
Note that to trigger several options, you need to list them separated with a comma, e.g. `xkb_options caps:escape,altwin:swap_lalt_lwin`; if you instead write several `xkb_options`-lines, only the last one will take effect.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user