Launch Apps | Modifier
Launch apps by modifier + keys.
- right control +
c
: Calendar - right control +
f
: Finder
To use multiple modifiers, use an array, like
withModifier(['left_control', 'left_option'])
// or use alias:
withModifier('โนโโฅ')
Copy and edit the code below in the online editor:
export const rules = () => [
rule('Launch Apps').manipulators([
withModifier('right_control')({
c: toApp('Calendar'),
f: toApp('Finder'),
}),
]),
]
Or copy the JSON below and add it to Karabiner-Elements without changes:
{
"description": "Launch Apps",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"right_control"
]
}
},
"to": [
{
"shell_command": "open -a \"Calendar\".app"
}
]
},
{
"type": "basic",
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"right_control"
]
}
},
"to": [
{
"shell_command": "open -a \"Finder\".app"
}
]
}
]
}