From bd6c59ee5b86ab05b2bda091387bd1ebd9d45fe6 Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Fri, 9 Oct 2026 14:35:05 +0200 Subject: [PATCH] Update Karabiner prompt shortcuts --- .gitignore | 2 +- modules/darwin/karabiner.nix | 35 +++++++++++++++++++++++++++-------- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 3915f58..0d21f31 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ * -.DS_Store !.gitignore @@ -24,3 +23,4 @@ !keys.nix !rebuild.nu !secrets.nix +.DS_Store diff --git a/modules/darwin/karabiner.nix b/modules/darwin/karabiner.nix index 561b916..7af96d4 100644 --- a/modules/darwin/karabiner.nix +++ b/modules/darwin/karabiner.nix @@ -730,11 +730,11 @@ let ]; } { - description = "Hyper+0 copies a rephrase prompt into the clipboard"; + description = "Hyper+9 copies a rephrase prompt into the clipboard"; manipulators = [ { from = { - key_code = "0"; + key_code = "9"; modifiers = { mandatory = hyperModifiers; }; @@ -749,11 +749,30 @@ let ]; } { - description = "Hyper+9 copies an orchestrate prompt into the clipboard"; + description = "Hyper+0 copies a concise high-entropy reply prompt into the clipboard"; manipulators = [ { from = { - key_code = "9"; + key_code = "0"; + modifiers = { + mandatory = hyperModifiers; + }; + }; + to = [ + { + shell_command = "printf '%s' 'Reply concisely, pay attention to word economy, make it high-entropy.' | pbcopy"; + } + ]; + type = "basic"; + } + ]; + } + { + description = "Hyper+8 copies an orchestrate prompt into the clipboard"; + manipulators = [ + { + from = { + key_code = "8"; modifiers = { mandatory = hyperModifiers; }; @@ -768,11 +787,11 @@ let ]; } { - description = "Hyper+8 types a schwa (ə)"; + description = "Hyper+6 types a schwa (ə)"; manipulators = [ { from = { - key_code = "8"; + key_code = "6"; modifiers = { mandatory = hyperModifiers; }; @@ -787,11 +806,11 @@ let ]; } { - description = "Shift+Hyper+8 types a capital schwa (Ə)"; + description = "Shift+Hyper+6 types a capital schwa (Ə)"; manipulators = [ { from = { - key_code = "8"; + key_code = "6"; modifiers = { mandatory = hyperModifiers ++ [ "left_shift" ]; };