From e763a2aaea5921c33669126492e736c69e7dc31f Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Fri, 21 Aug 2026 12:36:12 +0200 Subject: [PATCH] =?UTF-8?q?karabiner:=20restructure=20Hyper+C/V/L=20?= =?UTF-8?q?=E2=80=94=20native=20apps=20and=20web=20variants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hyper+C: ChatGPT app | Shift+Hyper+C: ChatGPT web - Hyper+V: Claude app | Shift+Hyper+V: Claude web - Hyper+L: ChatGPT web (incognito) | Shift+Hyper+L: Claude web (incognito) --- modules/darwin/karabiner.nix | 120 +++++++++++++++++++++++------------ 1 file changed, 79 insertions(+), 41 deletions(-) diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index 4f72db0..9f4bc1a 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -563,7 +563,45 @@ let ]; } { - description = "Hyper+V opens ChatGPT (incognito)"; + description = "Hyper+C opens or focuses ChatGPT app"; + manipulators = [ + { + from = { + key_code = "c"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = "open -a ChatGPT.app"; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Shift+Hyper+C opens ChatGPT web"; + manipulators = [ + { + from = { + key_code = "c"; + modifiers = { + mandatory = hyperModifiers ++ [ "left_shift" ]; + }; + }; + to = [ + { + shell_command = openChatGPT; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Hyper+V opens or focuses Claude app"; manipulators = [ { from = { @@ -572,6 +610,44 @@ let mandatory = hyperModifiers; }; }; + to = [ + { + shell_command = "open -a Claude.app"; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Shift+Hyper+V opens Claude web"; + manipulators = [ + { + from = { + key_code = "v"; + modifiers = { + mandatory = hyperModifiers ++ [ "left_shift" ]; + }; + }; + to = [ + { + shell_command = openClaude; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Hyper+L opens ChatGPT web (incognito)"; + manipulators = [ + { + from = { + key_code = "l"; + modifiers = { + mandatory = hyperModifiers; + }; + }; to = [ { shell_command = openChatGPTIncognito; @@ -582,51 +658,13 @@ let ]; } { - description = "Hyper+C opens ChatGPT"; - manipulators = [ - { - from = { - key_code = "c"; - modifiers = { - mandatory = hyperModifiers; - }; - }; - to = [ - { - shell_command = openChatGPT; - } - ]; - type = "basic"; - } - ]; - } - { - description = "Hyper+L opens Claude"; + description = "Shift+Hyper+L opens Claude web (incognito)"; manipulators = [ { from = { key_code = "l"; modifiers = { - mandatory = hyperModifiers; - }; - }; - to = [ - { - shell_command = openClaude; - } - ]; - type = "basic"; - } - ]; - } - { - description = "Hyper+; opens Claude (incognito)"; - manipulators = [ - { - from = { - key_code = "semicolon"; - modifiers = { - mandatory = hyperModifiers; + mandatory = hyperModifiers ++ [ "left_shift" ]; }; }; to = [