News for hackers. Stuff that matters.
Re:MonitorControl: Control external monitor brightness and v... by throwanem on Friday July 10, 2020 @07:12AM (#23790296)
No, but the only thing in it that isn't trivial or already discussed is the invocation for getting the internal display's current brightness values, which is this:

    ioreg -c AppleBacklightDisplay | grep brightness | cut -d= -f2- | perl -pe's@=@:@g'
(The cut and perl commands cause it to spit out a JSON blob, instead of the vaguely JSONish format ioreg gives you.)

There are no comments on this comment yet.