aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config.d/40_keyboards
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-28 21:54:30 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-28 21:54:30 -0500
commit05e196933602458fc776586e694a21a6c1cf2d33 (patch)
tree8d7b91fb75b001caeb1f495846d295d77fc16d54 /dot_config/sway/config.d/40_keyboards
parentdelete ~/.xkb, leave ~/.config/pulse (diff)
Update sway config
Diffstat (limited to 'dot_config/sway/config.d/40_keyboards')
-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: