mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 14:34:07 +01:00
Updated Home (markdown)
parent
ab61072f1d
commit
7739f0c004
13
Home.md
13
Home.md
@ -131,7 +131,7 @@ See `man 5 sway-input` for a summary of the available options.
|
||||
#### Keyboard layout
|
||||
|
||||
```
|
||||
input <identifier> {
|
||||
input type:keyboard { # or input <identifier>
|
||||
xkb_layout us,de
|
||||
xkb_variant ,nodeadkeys
|
||||
xkb_options grp:alt_shift_toggle
|
||||
@ -147,10 +147,17 @@ See `man 7 xkeyboard-config` for options you can use with the `xkb_layout`, `xkb
|
||||
* Make caps lock work as control: `xkb_options ctrl:nocaps`
|
||||
* Swap left alt and super, *and* set caps lock to escape: `xkb_options altwin:swap_lalt_lwin,caps:escape`
|
||||
|
||||
#### Load custom xkb keymap file (since [#3999](https://github.com/swaywm/sway/issues/3999))
|
||||
```
|
||||
input type:keyboard { # or input <identifier>
|
||||
xkb_file ~/.config/xkb/custom
|
||||
}
|
||||
```
|
||||
|
||||
#### Keyboard repeat delay and rate
|
||||
|
||||
```
|
||||
input <identifier> {
|
||||
input type:keyboard { # or input <identifier>
|
||||
repeat_delay 500
|
||||
repeat_rate 5
|
||||
}
|
||||
@ -158,7 +165,7 @@ input <identifier> {
|
||||
|
||||
#### xmodmap equivalent
|
||||
|
||||
See https://github.com/swaywm/sway/issues/4250
|
||||
See [#4250](https://github.com/swaywm/sway/issues/4250)
|
||||
|
||||
#### Libinput config options
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user