From a8543c5090608e27789c92d054c0bb8634024b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Wed, 24 Jul 2024 21:18:01 -0300 Subject: [PATCH] keyd: fix modifier keys (rightshift bacame leftshift) --- system/keyboard.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/system/keyboard.nix b/system/keyboard.nix index 7691343..bdb9f24 100644 --- a/system/keyboard.nix +++ b/system/keyboard.nix @@ -8,6 +8,16 @@ "main" = { # Some programs don't respect colemaks capslock bind, so we force it here "capslock" = "backspace"; + + # keyd has incorrect defaults :/ + "leftshift" = "leftshift"; + "rightshift" = "rightshift"; + "leftalt" = "leftalt"; + "rightalt" = "rightalt"; + "leftcontrol" = "leftcontrol"; + "rightcontrol" = "rightcontrol"; + "leftmeta" = "leftmeta"; + "rightmeta" = "rightmeta"; }; }; };