Skip to content

Commit

Permalink
Added a new rule: F3~5 to screenshots (#1653)
Browse files Browse the repository at this point in the history
* add "F3~5 to screenshots"

* new rule added: F3-5_to_screenshots
  • Loading branch information
TakumaOnishi authored Jun 15, 2024
1 parent d93e6ce commit c362359
Show file tree
Hide file tree
Showing 2 changed files with 68 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 @@ -1280,6 +1280,9 @@
},
{
"path": "json/om_optionR_to_fn.json"
},
{
"path": "json/F3-5_to_screenshots.json"
}
]
},
Expand Down
65 changes: 65 additions & 0 deletions public/json/F3-5_to_screenshots.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"title": "F3~5 to screenshots",
"rules": [
{
"description": "F3 to ⇧⌘3 (screenshot)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f3"
},
"to": [
{
"key_code": "3",
"modifiers": [
"left_command",
"left_shift"
]
}
]
}
]
},
{
"description": "F4 to ⇧⌘4 (selective screenshot)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f4"
},
"to": [
{
"key_code": "4",
"modifiers": [
"left_command",
"left_shift"
]
}
]
}
]
},
{
"description": "F5 to ⇧⌘5 (screen record menu)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "5",
"modifiers": [
"left_command",
"left_shift"
]
}
]
}
]
}
]
}

0 comments on commit c362359

Please sign in to comment.