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.
- Host: GitHub
- URL: https://github.com/a2/touch-baer
- Owner: a2
- License: mit
- Created: 2017-02-13T18:22:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-16T14:17:07.000Z (over 6 years ago)
- Last Synced: 2024-07-18T03:43:44.178Z (4 months ago)
- Topics: control-strip, objective-c, touch-bar
- Language: Objective-C
- Homepage:
- Size: 43.9 KB
- Stars: 238
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.