Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/a2/touch-baer

Use private API to add a Touch Bar buttons to the Control Strip.
https://github.com/a2/touch-baer

control-strip objective-c touch-bar

Last synced: 3 months ago
JSON representation

Use private API to add a Touch Bar buttons to the Control Strip.

Lists

README

        

# Touch Bär

![](screenshot.png)

Touch Bär uses **undocumented, private API** to add a Touch Bar button to the Control Strip on the right-band side of the keyboard.

```objc
DFRElementSetControlStripPresenceForIdentifier(NSString *, BOOL);
DFRSystemModalShowsCloseBoxWhenFrontMost(BOOL);

+[NSTouchBarItem addSystemTrayItem:]
+[NSTouchBar presentSystemModalFunctionBar:systemTrayItemIdentifier:]
```

## Author

Alexsander Akers, [email protected]

## License

Touch Bär is available under the MIT license. See the LICENSE file for more info.