aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-08-03 08:43:09 +0200
committerKarel Kočí <cynerd@email.cz>2023-08-03 08:43:09 +0200
commit4fa48e05437d6539d2e08c6496697f46dec58782 (patch)
treebd8b2f0e3a9e8dc7719e0298a680c3b2fb3e5b1d /config
parentedab428e9e38a40155134d1c3c968ce406aba0ad (diff)
downloadmyconfigs-4fa48e05437d6539d2e08c6496697f46dec58782.tar.gz
myconfigs-4fa48e05437d6539d2e08c6496697f46dec58782.tar.bz2
myconfigs-4fa48e05437d6539d2e08c6496697f46dec58782.zip
sway: update layout switching
Diffstat (limited to 'config')
-rw-r--r--config/sway/bindsym-layout4
-rw-r--r--config/sway/inputs2
2 files changed, 3 insertions, 3 deletions
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
}