1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-05-30 08:37:01 +02:00

karabiner: add new keybind

This commit is contained in:
TheGeneralist 2026-05-18 19:30:21 +02:00
parent cfcbcb9653
commit 5e709810e2
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
5 changed files with 84 additions and 3 deletions

19
flake.lock generated
View file

@ -520,7 +520,8 @@
"nixpkgs": "nixpkgs",
"noctalia": "noctalia",
"noctalia-qs": "noctalia-qs",
"readlater-bot": "readlater-bot"
"readlater-bot": "readlater-bot",
"steipete-tap": "steipete-tap"
}
},
"rust-analyzer-src": {
@ -540,6 +541,22 @@
"type": "github"
}
},
"steipete-tap": {
"flake": false,
"locked": {
"lastModified": 1778750339,
"narHash": "sha256-ZF63K/JuNKo8vWOIhXvsxbisUSVaUIeYqJLGI7uA9g4=",
"owner": "steipete",
"repo": "homebrew-tap",
"rev": "ccc12256eff15e1da74e6701db136e5c81036715",
"type": "github"
},
"original": {
"owner": "steipete",
"repo": "homebrew-tap",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,

View file

@ -23,6 +23,10 @@
url = "github:homebrew/homebrew-cask";
flake = false;
};
steipete-tap = {
url = "github:steipete/homebrew-tap";
flake = false;
};
agenix = {
url = "github:ryantm/agenix";

View file

@ -71,6 +71,7 @@ in
home.sessionPath = [
"node_modules/.bin"
"/opt/homebrew/bin"
"/opt/homebrew/opt"
"$HOME/.npm-packages/bin"
"$PNPM_HOME"
];

View file

@ -1,6 +1,7 @@
{
homebrew-core,
homebrew-cask,
steipete-tap,
config,
...
}:
@ -16,7 +17,8 @@
taps."homebrew/homebrew-core" = homebrew-core;
taps."homebrew/homebrew-cask" = homebrew-cask;
taps."steipete/tap" = steipete-tap;
mutableTaps = false;
mutableTaps = true;
};
}

View file

@ -11,6 +11,7 @@ let
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/";
openHeliumExaSearch = "open -na Helium.app --args https://exa.ai/search";
numbers = [
"1"
@ -102,7 +103,6 @@ let
];
to_if_alone = [
{
hold_down_milliseconds = 500;
key_code = "escape";
}
];
@ -186,6 +186,25 @@ let
}
];
}
{
description = "Hyper+E opens Exa Search";
manipulators = [
{
from = {
key_code = "e";
modifiers = {
mandatory = hyperModifiers;
};
};
to = [
{
shell_command = openHeliumExaSearch;
}
];
type = "basic";
}
];
}
{
description = "Toggle Focus Mode with F6";
manipulators = [
@ -198,6 +217,44 @@ let
}
];
}
{
description = "Hyper+Q runs Add Quote shortcut";
manipulators = [
{
from = {
key_code = "q";
modifiers = {
mandatory = hyperModifiers;
};
};
to = [
{
shell_command = "shortcuts run 'Add Quote'";
}
];
type = "basic";
}
];
}
{
description = "Hyper+G runs Shades of Gray shortcut";
manipulators = [
{
from = {
key_code = "g";
modifiers = {
mandatory = hyperModifiers;
};
};
to = [
{
shell_command = "shortcuts run 'Shades of Gray'";
}
];
type = "basic";
}
];
}
];
};