Age | Commit message (Collapse) | Author |
|
Don't bother running on wake because we always unlock the screen right
after waking. There's no need to restore twice.
|
|
Mac OS X 10.15 Catalina sometimes (but not always) causes the internal
display's brightness to change to the maximum when connected to an
external monitor after inverting screen colours. In our F8 shortcut
which inverts screen colours, reset the screen brightness to correct
this idiocy.
|
|
Instead of setting the arbitrary 50% brightness default, get the actual
current brightness on initialisation so we can restore the real value in
case the computer is locked/slept before the timer can store it.
|
|
Doesn't seem to be working reliably by saving on lock and sleep, as the
brightness is getting saved & restored to the maximum of 100. Save the
brightness level on a half-hour timer instead.
|
|
Since upgrading to 10.15 Catalina, when my external monitor is plugged
in and I wake up my machine, for some unexplained reason the internal
display resets to maximum brightness. Fix Catalina's nonsense on wake by
resetting to the brightness from before sleep.
|