Skip to content

Instantly share code, notes, and snippets.

@araa47
Last active August 7, 2019 07:51
Show Gist options
  • Save araa47/9aa98e01b92bf431738fbbcb8d9364eb to your computer and use it in GitHub Desktop.
Save araa47/9aa98e01b92bf431738fbbcb8d9364eb to your computer and use it in GitHub Desktop.
Karabiner-Elements Complex Modification to Increment/Decrement Volume with higher precision on mac. You may need to change f11 to your volume up key and f12 to volume down key. You may also need to change the modifers to "left_shift" and "left_option". The reason for the weird mapping is because of my mechanical keyboard
{
"title": "Volume Precision Control",
"rules": [
{
"description": "Precise Volume Increment",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f11",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "f11",
"modifiers": ["left_alt", "left_shift"]
}
]
}
]
},
{
"description": "Precise Volume Decrement",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f10",
"modifiers": {
"optional": ["any"]
}
},
"to": [
{
"key_code": "f10",
"modifiers": ["left_alt", "left_shift"]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment