♻️ add sway keybord.conf

This commit is contained in:
dannydannydanny 2022-03-16 22:52:06 +01:00 committed by GitHub
parent 033192e273
commit 4fe0777ca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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 ","
}