tileos-settings-swayfx/etc/skel/.config/sway/config.d/XX-keyboard.conf.example
2024-07-01 14:48:20 +04:00

19 lines
898 B
Text

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