feat(sway): use ES keyboard layout by default
I only have one US keyboard (my Pixelbook's internal keyboard), so this
change makes the keyboards use the ES layout by default, which should be
more accurate.
GitOrigin-RevId: 58a74ff1915a1aeb367358036b617586a276076b
diff --git a/private_dot_config/sway/config.tmpl b/private_dot_config/sway/config.tmpl
index aeba322..4dc735f 100644
--- a/private_dot_config/sway/config.tmpl
+++ b/private_dot_config/sway/config.tmpl
@@ -336,6 +336,11 @@
natural_scroll enabled
}
+input type:keyboard {
+ xkb_layout es,us
+ xkb_options grp:alt_space_toggle
+}
+
{{ if eq .chezmoi.hostname "pixelbook" -}}
input $internalKeyboard {
xkb_layout us,es
@@ -351,11 +356,6 @@
}
{{- end }}
{{ if eq .env "work" -}}
-input type:keyboard {
- xkb_layout es,us
- xkb_options grp:alt_space_toggle
-}
-
input $internalKeyboard {
xkb_layout es,us
xkb_options grp:alt_space_toggle