mirror of
https://github.com/thegeneralist01/config.git
synced 2026-05-30 08:37:01 +02:00
Compare commits
2 commits
bb4804dfc1
...
9399b1ab37
| Author | SHA1 | Date | |
|---|---|---|---|
| 9399b1ab37 | |||
| 1838431613 |
1 changed files with 117 additions and 0 deletions
|
|
@ -1,4 +1,17 @@
|
||||||
|
{ ... }:
|
||||||
let
|
let
|
||||||
|
hyperModifiers = [
|
||||||
|
"left_command"
|
||||||
|
"left_control"
|
||||||
|
"left_option"
|
||||||
|
"left_shift"
|
||||||
|
];
|
||||||
|
|
||||||
|
openGhostty = "open -na Ghostty.app";
|
||||||
|
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 = [
|
numbers = [
|
||||||
"1"
|
"1"
|
||||||
"2"
|
"2"
|
||||||
|
|
@ -69,6 +82,110 @@ let
|
||||||
# description = "Change numbers to symbols and vice versa";
|
# description = "Change numbers to symbols and vice versa";
|
||||||
# manipulators = manipulators;
|
# 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 = "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";
|
description = "Toggle Focus Mode with F6";
|
||||||
manipulators = [
|
manipulators = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue