From 05e196933602458fc776586e694a21a6c1cf2d33 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 28 Dec 2023 21:54:30 -0500 Subject: Update sway config --- dot_config/sway/config.d/40_keyboards | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dot_config/sway/config.d/40_keyboards (limited to 'dot_config/sway/config.d/40_keyboards') diff --git a/dot_config/sway/config.d/40_keyboards b/dot_config/sway/config.d/40_keyboards new file mode 100644 index 0000000..524147d --- /dev/null +++ b/dot_config/sway/config.d/40_keyboards @@ -0,0 +1,16 @@ +input type:keyboard { + xkb_layout "icd,ru" + xkb_variant "icd," +} +# built-in Thinkpad keyboard +input "1:1:AT_Translated_Set_2_keyboard" { + xkb_options "nbsp:level3n,lalt_meta:lalt_meta,caps:swapescape,grp:shifts_toggle,lv3:ralt_switch_multikey" +} +input "kinesis????" { + xkb_options "nbsp:level3n,lalt_meta:lalt_meta,caps:swapescape,grp:shifts_toggle,lv3:switch" +} +input "ergodox????" { + xkb_options "nbsp:level3n,lalt_meta:lalt_meta,caps:swapescape,grp:shifts_toggle,lv3:switch" +} + +# vim:set ft=swayconfig: -- cgit v1.2.3