Modes
Settings file
Follow a local JSON file you choose. It is read again when it changes and applied over your saved settings, below any scheduled rule. It is off by default.
#Controls
- Follow this file: stores the path, starts watching it, and applies it.
- Apply now: re-reads the file immediately.
- Stop following: stops watching and drops the file's values. Saved settings are untouched.
#Schema
{ "version": 1, "settings": { "language": "en", "theme": "dark", "sounds": true, "toasts": true, "gameMode": false } }versionmust be 1.settingsmust be an object.- Allowed keys:
language(en,yue,bilingual),theme(system,light,dark),sounds,toasts,gameMode(true or false). Keys are case-insensitive. Keys you leave out change nothing. - Unknown keys are ignored and counted in the status line. A wrong type or unsupported value rejects the whole file.
- Maximum size is 64 KB, maximum depth 4.
#Failure behaviour
A missing file, oversized file, malformed JSON or schema error leaves the last valid values in effect, and the status line says so. Nothing from the file is ever written into the saved settings. Changes are debounced by half a second after the file stops changing.
#Limits
Only a local file path is supported. There is no network source. The path must end in .json, and the file is read as plain text with no other access to the file system.
View this article's Markdown source on GitHub
Suggested articles
Scheduled settings
A rule says: between two times on chosen days, set one value. Rules are checked every minute by a dispatcher timer and immediately after any edit.
Read itSchool mode
A switch for handing the computer to someone who should only see a quiet, English-only version of the app. The user chooses the mode's name; the default is "School mode".
Read itADHD modes
Five independent switches and a Focus spotlight, all off by default. Any mix can be on. They are aids for attention, not medical advice, and the copy is plain and factual: no streaks, scores or…
Read itDim sum surprise
At startup there is a 10% chance, drawn fresh on each launch and at most once per launch, that the app shows one randomly chosen dim sum dish: its English and Cantonese names and a picture, in a…
Read it