Hey all, @plaidman took inspiration from a post Xongle did a while back and expanded on it a bit. Install via archive installer, and read the readme for configuration options.
This package includes a script in Tasks to manually change between dark and light mode, with configurable temperature settings.
It also includes an optional automatic temperature adjustment script with configurable time and speed of adjustment.
config file is in SD1/MUOS/task/.daynight/daynight.ini. it’s pretty self-explanatory, but there are details in the readme.
Auto Day/Night mode:
For this to work you have to enable user init scripts. From main muOS menu go config → general settings → Advanced Settings → enable user init scripts
future plans:
automatic day/night tracking if you have wifi enabled
also change brightness
maybe a UI to edit config values.
Day / Night Mode Manual Hotkeys":
I added a simple hotkey toggle to turn day/night mode off, if like me you need to use it for your kids nap time during the day and don’t want to exit your game.
Hey ! I noticed you’re using a generic icon in your script
May I provide you an icon for your app ? All you’d have to do is to replace # ICON: junk with a unique name, like daynight.
I’m trying to use the hotkey toggle, but it isn’t using the values I set here: SD1/MUOS/task/.daynight/daynight.ini. I have also set automatic to no.
When I use the hotkey toggle it always uses the values that were initially set, the ones that came with the instalation. Maybe I’ve done something wrong…?
When I use the toggle in the Task Toolkit, it uses my values:
The hotkeys use their own values, its unfortunately seperate from the automatic script. If you want to set those you’ll have to edit the values in the following file either on your device via ssh or in the muxzip before installing it:
Hey Max, did you figure out the value to change? If not is it for the hotkeys or for the auto script? Unfortunately they use value in different locations.
Talked to Max on discord and got it all sorted out.
It’s just the toggle though. I remember the older version had settings and an option to automatically switch based on the time of day. Is that feature coming back? (Also, the glyph icon isn’t loading.)
*nevermind see you mentoined it for future plans
That said, I’m very happy using it with the hotkeys for now. Thanks again!