Quote:
Originally Posted by NiLuJe
@jackie_w: In this case, after taking a look at the nightmode hack, I'd say something like...
Code:
if grep -q "state:invertActive = yes" "/mnt/onboard/.kobo/nightmode.ini" ; then
fbink -h ....
else
fbink ....
fi
|
Thanks for looking

I tried, but no joy. No matter how many times I toggled NightMode on/off the miniclock was always displayed black-on-white.
miniclock.cfg file has default settings
Code:
fg_color=BLACK
bg_color=WHITE
Part of the problem may be that I don't think the nightmode.ini file's [state]invertActive parameter is dynamically updated as the device toggles in/out of NightMode. The timestamp on the .ini file remains unchanged. I don't know how/where the actual current state is stored.
But I don't think this can be the whole problem. Even if I manually set the .ini to
invertActive = yes, before rebooting, I still always get black-on-white. It doesn't look like the -h parameter is doing anything.
However, in case my practically non-existent shell scripting skills are at fault, I changed miniclock.sh from
to
and I made the changes to frostschutz's Miniclock update dated today.
I suspect I'm outstaying my welcome on this annoying little issue, but if you do get any more bright ideas I'll be happy to test them out ... as long as it can be done with a simple Windows PC