This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tccutil reset All com.steventheworker.DockAltTab | |
tccutil reset ScreenCapture com.steventheworker.DockAltTab | |
tccutil reset AppleEvents com.steventheworker.DockAltTab | |
tccutil reset Accessibility com.steventheworker.DockAltTab | |
tccutil reset MediaLibrary com.steventheworker.DockAltTab | |
tccutil reset ListenEvent com.steventheworker.DockAltTab | |
# other... ? | |
# tccutil reset ListenEvent com.steventheworker.DockAltTab | |
# tccutil reset DeveloperTool com.steventheworker.DockAltTab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Rules for Karabiner-Elements | Tested Version: 11.6.0", | |
"rules": [ | |
{ | |
"description": "cmd-shift-e spotlight", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "e", | |
"modifiers": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile it with swiftc in terminal and then run output binary as shell script within BetterTouchTool. | |
import Cocoa | |
func reclaimFocus() { | |
let options = CGWindowListOption(arrayLiteral: CGWindowListOption.excludeDesktopElements, CGWindowListOption.optionOnScreenOnly) | |
let windowListInfo = CGWindowListCopyWindowInfo(options, CGWindowID(0)) | |
guard | |
let infoList = windowListInfo as NSArray? as? [[String: AnyObject]] else { | |
return | |
} |