diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index e41cd7b..15b8fee 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -79,23 +79,6 @@ let } ]; - logitechG213Identifiers = { - vendor_id = 1133; - product_id = 49974; - is_keyboard = true; - }; - - logitechG213SimpleModifications = [ - { - from.key_code = "left_command"; - to = [ { key_code = "left_option"; } ]; - } - { - from.key_code = "left_option"; - to = [ { key_code = "left_command"; } ]; - } - ]; - complex_modifications = { name = "Complex Modifications"; rules = [ @@ -104,7 +87,7 @@ let # manipulators = manipulators; # } { - description = "Caps Lock to Hyperkey"; + description = "Hyperkey"; manipulators = [ { from = { @@ -121,6 +104,11 @@ let ]; } ]; + to_if_alone = [ + { + key_code = "escape"; + } + ]; type = "basic"; } ]; @@ -323,10 +311,6 @@ let inherit complex_modifications; devices = [ - { - identifiers = logitechG213Identifiers; - simple_modifications = logitechG213SimpleModifications; - } { identifiers.is_keyboard = true; }