Skip to content

Instantly share code, notes, and snippets.

@pistatium
Created October 16, 2023 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pistatium/5b296d306d2b58894735675385324076 to your computer and use it in GitHub Desktop.
Save pistatium/5b296d306d2b58894735675385324076 to your computer and use it in GitHub Desktop.
Mac: F14を押している間マイク入力をONにするKarabiner Elementsのルール
{
"title": "mic",
"rules": [
{
"description": "押している間マイクをOnに",
"manipulators": [
{
"from": {
"key_code": "f14",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"shell_command": "osascript -e 'set volume input volume 90'"
}
],
"to_after_key_up": [
{
"shell_command": "osascript -e 'set volume input volume 0'"
}
],
"type": "basic"
}
]
}
]
}
@pistatium
Copy link
Author

~/.config/karabiner/assets/complex_modifications/mic_key_controller.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment