Skip to content

Instantly share code, notes, and snippets.

@devgru
Created May 30, 2023 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devgru/d6cdb2feb746dd1cde0c9a26660c5e18 to your computer and use it in GitHub Desktop.
Save devgru/d6cdb2feb746dd1cde0c9a26660c5e18 to your computer and use it in GitHub Desktop.
example karabiner app runner, put into .config/karabiner/assets/complex_modifications/
{
"title": "Run apps",
"rules": [
{
"description": "Run Safari",
"manipulators": [
{
"from": {
"key_code": "left_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command"
}
],
"to_if_alone": [
{
"shell_command": "open -a 'Safari.app'"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment