Gyazoをショートカットキーで起動する
Gyazo Desktopそのものにショートカットキーの設定が増えたmrsekut.icon
https://gyazo.com/adaa7e7925d004a602d2c3bf8e519b21
あー、でもF13だけとかはできないらしいmrsekut.icon
https://gyazo.com/8519230a74d15f9365198be2060837e3
fnでGyazoを起動
code:gyazo.json
{
"title": "FnでGyazo起動",
"rules": [
{
"description": "FnでGyazo起動",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "fn"
},
"to_if_alone": [
{
"shell_command": "open -a 'Gyazo.app'"
}
]
}
]
}
]
}
shift-fnでGyazo GIFを起動
code:gyazo-gif.json
{
"title": "Shift-FnでGyazo GIF起動",
"rules": [
{
"description": "Shift-FnでGyazo GIF起動",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "fn",
"modifiers": { "mandatory": "shift" } },
"to_if_alone": [
{
"shell_command": "open -a 'Gyazo GIF.app'"
}
]
}
]
}
]
}
Nixで追加したので、Karabiner開いて「Add rule」から選ぶだけで良い