Created
April 3, 2022 08:03
-
-
Save cu39/8724d1a23a84095961b7e592fb9062ab to your computer and use it in GitHub Desktop.
Safariでマウスボタン4/5をリロードボタンに設定するKarabiner-Elementsルール
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "マウスボタン4/5でリロード(Safari限定)", | |
"rules": [ | |
{ | |
"description": "マウスボタン4でリロード(Safari限定)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button4" | |
}, | |
"to": [ | |
{ | |
"key_code": "r", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Safari$" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "マウスボタン5でリロード(Safari限定)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"pointing_button": "button5" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "r", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.apple\\.Safari$" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment