Change keybind to switch keyboard layout

This commit is contained in:
Ethan Simmons
2025-05-24 10:47:55 -05:00
parent 76ccbfb451
commit e48c699eeb
2 changed files with 4 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ in
input."type:keyboard" = { input."type:keyboard" = {
xkb_layout = "us,de"; xkb_layout = "us,de";
xkb_options = "grp:toggle"; xkb_options = "grp:lctrl_lalt_toggle,lv3:ralt_switch";
}; };
output = gui.monitors; output = gui.monitors;

View File

@@ -42,6 +42,9 @@ in
(mkIf (cfg.caps == "ctrl-esc") { capslock = "overload(control, esc)"; }) (mkIf (cfg.caps == "ctrl-esc") { capslock = "overload(control, esc)"; })
(mkIf (cfg.caps == "esc") { capslock = "esc"; }) (mkIf (cfg.caps == "esc") { capslock = "esc"; })
]; ];
altgr = mkMerge [
{ "-" = "macro(C-S-u 2 0 1 4 space)"; }
];
}; };
}; };
}; };