Sway keyboard layout

На просторах инета нашёл вариант:

# swaymsg -t get_inputs | jq '.[0].xkb_active_layout_name'