♻️ add sway keybord.conf
This commit is contained in:
parent
033192e273
commit
4fe0777ca3
1 changed files with 21 additions and 0 deletions
21
.config/sway/config.d/keyboard.conf
Normal file
21
.config/sway/config.d/keyboard.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# input "*" equals all input methods
|
||||
# to specify settings for a specific input method, use its identifier instead.
|
||||
# query the connected input methods: `swaymsg -t get_inputs`
|
||||
|
||||
input * {
|
||||
# toggles through configured layouts via caps-lock
|
||||
# query the available layout toggles: `localectl list-x11-keymap-options | grep grp:`
|
||||
# query the available led indicators: `localectl list-x11-keymap-options | grep grp_led`
|
||||
# enables caps-lock led if not the first layout selected
|
||||
# regular caps-lock behavior can be reached using shift+caps-lock
|
||||
xkb_options grp:caps_toggle,grp_led:caps,ctrl:nocaps
|
||||
pointer_accel 0.3
|
||||
|
||||
|
||||
# query the available layouts: `localectl list-x11-keymap-layouts`
|
||||
xkb_layout "us,de"
|
||||
|
||||
# query the available variants for a given layout: `localectl list-x11-keymap-variants de`
|
||||
# list in the same order as the layouts - empty equals the default layout
|
||||
xkb_variant ","
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue