aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config.d/40_keyboards
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/sway/config.d/40_keyboards16
1 files changed, 16 insertions, 0 deletions
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: