From 90543d8e8a934f612110df6542dae8ff2c7df413 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Thu, 10 Oct 2024 09:40:35 -0400 Subject: [PATCH] Layout switching --- modules/core.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/core.nix b/modules/core.nix index 9b636c2..155c49b 100644 --- a/modules/core.nix +++ b/modules/core.nix @@ -82,9 +82,16 @@ keyboards.default = { ids = [ "*" ]; extraConfig = '' - [main] - + include layouts/colemak + [global] + + default_layout = main capslock = layer(l2) + + [control+shift] + + m = setlayout(main) + c = setlayout(colemak) [l2]