Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fish4Beta #47

Merged
merged 3 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
adds hyper+left_shift to open apple mail
  • Loading branch information
edheltzel committed Dec 23, 2024
commit 3b743825a314ee267aa5923d309f990f2e56bf9d
44 changes: 44 additions & 0 deletions config/.config/karabiner/karabiner.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,50 @@
}
]
},
{
"description": "Hyper Key sublayer \"left_shift\"",
"manipulators": [
{
"from": {
"key_code": "left_shift",
"modifiers": { "mandatory": ["right_control", "right_command", "right_option", "right_shift"] }
},
"to": [
{
"set_variable": {
"name": "hyper_sublayer_left_shift",
"value": 1
}
}
],
"to_after_key_up": [
{
"set_variable": {
"name": "hyper_sublayer_left_shift",
"value": 0
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "hyper_sublayer_left_shift",
"type": "variable_if",
"value": 1
}
],
"description": "Open -a 'Mail.app'",
"from": {
"key_code": "m",
"modifiers": { "mandatory": ["right_control", "right_command", "right_option", "right_shift"] }
},
"to": [{ "shell_command": "open -a 'Mail.app'" }],
"type": "basic"
}
]
},
{
"description": "Homerow Trigger",
"manipulators": [
Expand Down
3 changes: 3 additions & 0 deletions config/.config/karabiner/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ const rules: KarabinerRules[] = [
s: app("Spotify"),
t: app("kitty"), // t - kitty terminal
},
left_shift: {
m: app("Mail"),
},
}),
// Homerow Configuration
// Enables keyboard-driven UI navigation using homerow keys
Expand Down