srithon/BrightnessControl

Use one central file for caching state

Closed this issue · 0 comments

Currently, the daemon's runtime state is stored in 3 separate files. This was useful before because it meant that each one could be updated individually without messing with the other properties. However, now we are only reading these values from disk at the beginning and writing to disk on shutdown. Also, adding more runtime properties with the current setup is unsustainable.