touch-baer icon indicating copy to clipboard operation
touch-baer copied to clipboard

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

Touch Bär

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.

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.