mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat: add Dotbot
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"title": "Caps Lock to Escape, enable Caps Lock when held",
|
||||
"rules": [
|
||||
{
|
||||
"description": "Caps Lock to Escape on single press, Caps Lock on press and hold.",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "caps_lock",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "escape"
|
||||
}
|
||||
],
|
||||
"to_if_held_down": [
|
||||
{
|
||||
"key_code": "caps_lock"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"title":"Keychron K8 Microphone Button to Microsoft Teams Mute","rules":[{"description":"Focus Microsoft Teams Meeting Manager Window","manipulators":[{"from":{"modifiers":{"mandatory":["fn"]},"key_code":"spacebar"},"conditions":[{"type":"frontmost_application_unless","bundle_identifiers":["com.microsoft.teams"]}],"to":[{"shell_command":"if [ $(ps aux | grep -v grep | grep -ci \"Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper.app\") -gt 0 ]; then osascript -e 'activate application id \"com.microsoft.teams\"' -e 'tell application \"System Events\" to keystroke \"m\" using {command down, shift down}'; fi","lazy":true,"repeat":true}],"type":"basic"}]},{"description":"Change Fn + Spacebar to Shift + Cmd + A","manipulators":[{"type":"basic","from":{"modifiers":{"mandatory":["fn"]},"key_code":"spacebar"},"conditions":[{"type":"frontmost_application_if","bundle_identifiers":["^com\\.microsoft\\.teams$"]}],"to":[{"key_code":"m","modifiers":["left_shift","left_gui"]}]}]}]}
|
||||
181
darwin/karabiner/assets/complex_modifications/1670850784.json
Normal file
181
darwin/karabiner/assets/complex_modifications/1670850784.json
Normal file
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"title": "German Umlaut",
|
||||
"rules": [
|
||||
{
|
||||
"description": "Change option + a/o/u to ä/ö/ü",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "a",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"option"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_option"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "a"
|
||||
},
|
||||
{
|
||||
"key_code": "vk_none"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "a",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"option",
|
||||
"shift"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_option"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "a",
|
||||
"modifiers": [
|
||||
"left_shift"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "vk_none"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "o",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"option"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_option"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "o"
|
||||
},
|
||||
{
|
||||
"key_code": "vk_none"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "o",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"option",
|
||||
"shift"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_option"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "o",
|
||||
"modifiers": [
|
||||
"left_shift"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "vk_none"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "u",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"option"
|
||||
],
|
||||
"optional": [
|
||||
"caps_lock"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_option"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "u"
|
||||
},
|
||||
{
|
||||
"key_code": "vk_none"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"key_code": "u",
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"option",
|
||||
"shift"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_option"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "u",
|
||||
"modifiers": [
|
||||
"left_shift"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key_code": "vk_none"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user