Skip to content

Commit

Permalink
Merge pull request #1766 from 9SMTM6/spotlight_meta
Browse files Browse the repository at this point in the history
Complex Modification Rule: Spotlight on meta
  • Loading branch information
tekezo authored Dec 29, 2024
2 parents e53154d + 46449bb commit e0f3e6d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,9 @@
{
"path": "json/f_keys_to_fn_f_keys_unless_builtin.json",
"extra_description_path": "extra_descriptions/f_keys_to_fn_f_keys_unless_builtin.json.html"
},
{
"path": "json/spotlight_meta.json"
}
]
},
Expand Down
29 changes: 29 additions & 0 deletions public/json/spotlight_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"title": "Spotlight on Meta/Command/Windows-Key",
"maintainers": [
"9SMTM6"
],
"rules": [
{
"description": "Spotlight on Meta/Command/Windows-Key",
"manipulators": [
{
"from": {
"key_code": "left_command",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_command",
"lazy": true
}
],
"to_if_alone": [{ "apple_vendor_keyboard_key_code": "spotlight" }],
"to_if_held_down": [{ "key_code": "left_command" }],
"type": "basic"
}
]
}
]
}

0 comments on commit e0f3e6d

Please sign in to comment.