From 120047d37d263ea16ad9bb4f45ed5506640af2c3 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 15 Jul 2024 20:29:58 -0400 Subject: [PATCH] dual-function-keys: Drop all binds except caps lock as ctrl/esc This should help avoid surprises when using other computers and simplify things a bit. Note that super for the application launcher was cool but now I prioritize launching applications from ironbar instead. --- modules/hardware.nix | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/modules/hardware.nix b/modules/hardware.nix index 2c8a7b67..cc4e0452 100644 --- a/modules/hardware.nix +++ b/modules/hardware.nix @@ -13,7 +13,7 @@ let in { options.modules.hardware = { - keyboardBinds = mkEnableOption "start button for rofi, caps lock as escape, etc."; + keyboardBinds = mkEnableOption "caps lock as ctrl when held and esc when tapped"; mouseSettings = mkEnableOption "piper for gaming mice"; bluetooth = mkEnableOption "bluetooth support"; lidIgnore = mkEnableOption "ignoring the laptop lid on close"; @@ -67,26 +67,6 @@ in TAP = "KEY_ESC"; HOLD = "KEY_LEFTCTRL"; } - { - KEY = "KEY_SYSRQ"; - TAP = "KEY_SYSRQ"; - HOLD = "KEY_RIGHTMETA"; - } - { - KEY = "KEY_LEFTMETA"; - TAP = "KEY_FAVORITES"; - HOLD = "KEY_LEFTMETA"; - } - { - KEY = "KEY_RIGHTSHIFT"; - TAP = "KEY_MESSENGER"; - HOLD = "KEY_RIGHTSHIFT"; - } - { - KEY = "KEY_RIGHTALT"; - TAP = "KEY_GRAVE"; - HOLD = "KEY_RIGHTALT"; - } ]; }; };