Skip to content

Instantly share code, notes, and snippets.

@kazgoto
Created January 7, 2021 09:08
Show Gist options
  • Save kazgoto/11d76969fb2da9caac1755bb7ede5898 to your computer and use it in GitHub Desktop.
Save kazgoto/11d76969fb2da9caac1755bb7ede5898 to your computer and use it in GitHub Desktop.
Karabiner-Elements用カスタム設定
{
"title": "オリジナル",
"rules": [
{
"description": "[my] Screen Brightness (fn + cmd + up/down)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"fn",
"command"
]
}
},
"to": [
{
"key_code": "display_brightness_decrement"
}
]
},
{
"type": "basic",
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"fn",
"command"
]
}
},
"to": [
{
"key_code": "display_brightness_increment"
}
]
}
]
},
{
"description": "[my] Keyboard Illumination (fn + cmd + left/right)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"fn",
"command"
]
}
},
"to": [
{
"key_code": "illumination_decrement"
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"fn",
"command"
]
}
},
"to": [
{
"key_code": "illumination_increment"
}
]
}
]
},
{
"description": "[my] Volume (fn + up/down)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "volume_decrement"
}
]
},
{
"type": "basic",
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "volume_increment"
}
]
}
]
},
{
"description": "[my] Media Playback (fn + left/right = previous/next track)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "rewind"
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "fastforward"
}
]
}
]
},
{
"description": "[my] Mute & Pause (fn+. = mute/unmute, fn+/ = Play/Pause)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "period",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "mute"
}
]
},
{
"type": "basic",
"from": {
"key_code": "slash",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "play_or_pause"
}
]
}
]
},
{
"description": "[my] Open Launchpad (fn + l)",
"manipulators": [
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "launchpad",
"modifiers": []
}
],
"type": "basic"
}
]
},
{
"description": "[my] Change Ctrl + npfb to arrow keys",
"manipulators": [
{
"from": {
"key_code": "b",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment