Re:Apple says no fun allowed on the Touch Bar
by eridius on Tuesday November 01, 2016 @12:50AM
(#12843511)
I don't think there's any way to do something like that on OS X. Nor do I think it would change anything. The Touch Bar is controlled by the app with focus, not by its parent process. Process parent chains AFAIK have zero effect on communication with the Window Server (which is presumably how the Touch Bar APIs work).
E.g. I wrote a personal packet manipulator for visual studio. And added a registry key. So whenever you open any Devenv.exe it launches my program with devenv as an argument. To a normal person it's 100% not noticeable. But I'm the parent and could in this example perhaps Control the touchbar.
Tl Dr you can probably wrap a utility around other programs to have passive use. And/or inject tweak how controlbar looks at active window. Just force it to not update after its locked on.