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:
parent
cfcbcb9653
commit
5e709810e2
5 changed files with 84 additions and 3 deletions
19
flake.lock
generated
19
flake.lock
generated
|
|
@ -520,7 +520,8 @@
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"noctalia": "noctalia",
|
"noctalia": "noctalia",
|
||||||
"noctalia-qs": "noctalia-qs",
|
"noctalia-qs": "noctalia-qs",
|
||||||
"readlater-bot": "readlater-bot"
|
"readlater-bot": "readlater-bot",
|
||||||
|
"steipete-tap": "steipete-tap"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
|
|
@ -540,6 +541,22 @@
|
||||||
"type": "github"
|
"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": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
url = "github:homebrew/homebrew-cask";
|
url = "github:homebrew/homebrew-cask";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
steipete-tap = {
|
||||||
|
url = "github:steipete/homebrew-tap";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ in
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
"node_modules/.bin"
|
"node_modules/.bin"
|
||||||
"/opt/homebrew/bin"
|
"/opt/homebrew/bin"
|
||||||
|
"/opt/homebrew/opt"
|
||||||
"$HOME/.npm-packages/bin"
|
"$HOME/.npm-packages/bin"
|
||||||
"$PNPM_HOME"
|
"$PNPM_HOME"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
homebrew-core,
|
homebrew-core,
|
||||||
homebrew-cask,
|
homebrew-cask,
|
||||||
|
steipete-tap,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -16,7 +17,8 @@
|
||||||
|
|
||||||
taps."homebrew/homebrew-core" = homebrew-core;
|
taps."homebrew/homebrew-core" = homebrew-core;
|
||||||
taps."homebrew/homebrew-cask" = homebrew-cask;
|
taps."homebrew/homebrew-cask" = homebrew-cask;
|
||||||
|
taps."steipete/tap" = steipete-tap;
|
||||||
|
|
||||||
mutableTaps = false;
|
mutableTaps = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ let
|
||||||
openHelium = "open -na Helium.app";
|
openHelium = "open -na Helium.app";
|
||||||
openHeliumNotifications = "open -na Helium.app --args https://x.com/i/notifications";
|
openHeliumNotifications = "open -na Helium.app --args https://x.com/i/notifications";
|
||||||
openHeliumT3Chat = "open -na Helium.app --args https://t3.chat/";
|
openHeliumT3Chat = "open -na Helium.app --args https://t3.chat/";
|
||||||
|
openHeliumExaSearch = "open -na Helium.app --args https://exa.ai/search";
|
||||||
|
|
||||||
numbers = [
|
numbers = [
|
||||||
"1"
|
"1"
|
||||||
|
|
@ -102,7 +103,6 @@ let
|
||||||
];
|
];
|
||||||
to_if_alone = [
|
to_if_alone = [
|
||||||
{
|
{
|
||||||
hold_down_milliseconds = 500;
|
|
||||||
key_code = "escape";
|
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";
|
description = "Toggle Focus Mode with F6";
|
||||||
manipulators = [
|
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";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue