From 1838431613ec92a6e6800a9dd6e55493bb4b6d97 Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Sat, 28 Mar 2026 16:10:40 +0100 Subject: [PATCH 1/2] hyperkey!!!! --- modules/darwin/karabiner.nix | 77 ++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index 5ae9ed1..9730567 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -1,4 +1,15 @@ +{ ... }: let + hyperModifiers = [ + "left_command" + "left_control" + "left_option" + "left_shift" + ]; + + openGhostty = "open -na Ghostty.app"; + openHelium = "/Applications/Helium.app/Contents/MacOS/Helium &"; + numbers = [ "1" "2" @@ -69,6 +80,72 @@ let # description = "Change numbers to symbols and vice versa"; # manipulators = manipulators; # } + { + description = "Hyperkey"; + manipulators = [ + { + from = { + key_code = "caps_lock"; + modifiers = { optional = [ "any" ]; }; + }; + to = [ + { + key_code = "left_shift"; + modifiers = [ + "left_option" + "left_command" + "left_control" + ]; + } + ]; + to_if_alone = [ + { + hold_down_milliseconds = 500; + key_code = "escape"; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Hyper+Return opens Ghostty"; + manipulators = [ + { + from = { + key_code = "return_or_enter"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = openGhostty; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Hyper+B opens Helium"; + manipulators = [ + { + from = { + key_code = "b"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = openHelium; + } + ]; + type = "basic"; + } + ]; + } { description = "Toggle Focus Mode with F6"; manipulators = [ From 9399b1ab3717f7dd89ddf63cfb137535b7b26bdc Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Sat, 28 Mar 2026 18:17:41 +0100 Subject: [PATCH 2/2] HYPER KEYBINDSS --- modules/darwin/karabiner.nix | 42 +++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index 9730567..eead1b4 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -8,7 +8,9 @@ let ]; openGhostty = "open -na Ghostty.app"; - openHelium = "/Applications/Helium.app/Contents/MacOS/Helium &"; + openHelium = "open -na Helium.app"; + openHeliumNotifications = "open -na Helium.app --args https://x.com/i/notifications"; + openHeliumT3Chat = "open -na Helium.app --args https://t3.chat/"; numbers = [ "1" @@ -146,6 +148,44 @@ let } ]; } + { + description = "Hyper+N opens X Notifications"; + manipulators = [ + { + from = { + key_code = "n"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = openHeliumNotifications; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Hyper+T opens T3 Chat"; + manipulators = [ + { + from = { + key_code = "t"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = openHeliumT3Chat; + } + ]; + type = "basic"; + } + ]; + } { description = "Toggle Focus Mode with F6"; manipulators = [