From 4fa48e05437d6539d2e08c6496697f46dec58782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 3 Aug 2023 08:43:09 +0200 Subject: sway: update layout switching --- config/sway/bindsym-layout | 4 ++-- config/sway/inputs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/sway/bindsym-layout b/config/sway/bindsym-layout index 5b075ac..7c2aa2d 100644 --- a/config/sway/bindsym-layout +++ b/config/sway/bindsym-layout @@ -1,8 +1,8 @@ # vim: ft=swayconfig set $mode_layout Set keyboard layout (u)s or (c)z mode "$mode_layout" { - bindsym u input type:keyboard xkb_layout us, mode "default" - bindsym c input type:keyboard xkb_layout cz_qwerty, mode "default" + bindsym u input type:keyboard xkb_variant basic, input type:keyboard xkb_layout us, mode "default" + bindsym c input type:keyboard xkb_layout cz, input type:keyboard xkb_variant qwerty, mode "default" bindsym Return mode "default" bindsym Escape mode "default" } diff --git a/config/sway/inputs b/config/sway/inputs index 235105e..e68d5b9 100644 --- a/config/sway/inputs +++ b/config/sway/inputs @@ -1,7 +1,7 @@ # vim: ft=swayconfig input type:keyboard { - xkb_layout 'us,cz_qwerty' + xkb_layout 'us' xkb_options 'grp:alt_shift_toggle,caps:escape' xkb_numlock enabled } -- cgit v1.2.3