Blanket's in charge of the various full-screen state-specific screens (screensaver, USBMS, YKNR, ...).
Most of it is actual code, not shell scripting.
You'll find a few mentions around because it can communicate through lipc, but that's it.
You should be able to listen to the usb(Un)configured event in one way or another though, but those might be tad early.
(Basically, anything after lipc:evts, you should be able to hook into, just have to find the right one, timing wise).
Last edited by NiLuJe; 12-19-2018 at 05:43 PM.
|