Devlog #5 | LampOS
Morning everyone!
I added a settings app, which honestly should’ve existed a while ago. It’s got the same sidebar pattern as notes and files (categories on the left, content on the right), split into four sections: appearance, clock, system, and about.
Appearance is the fun one — dark/light mode toggle, five accent color swatches, and four wallpaper presets (dots, linen, stripes, plain). Flipping any of these updates the CSS variables on the body in real time, so the whole OS re-themes itself instantly without touching every individual app’s styles. That’s the payoff of building everything off CSS variables from day one — paid off here more than I expected.
Clock lets you switch between 12-hour and 24-hour format for the topbar clock. System shows live uptime, storage used, and counts for notes/files/events — basically a tiny dashboard pulling from the same localStorage keys the other apps already write to. Threw in a reset-all-data button too, gated behind a confirm so nobody nukes their notes by accident.
About is just the boring but necessary stuff — version number, a short blurb, link to say hi.
Everything saves to one new localStorage key (lamposSettings) and gets applied on boot, so preferences persist across reloads.
Ran into a small bug right after shipping it — the clock format toggle was saving correctly, but the clock display itself was reading from a key that didn’t exist, so 24-hour mode silently never worked. Classic “wrote the setter, forgot the getter wasn’t hooked up” moment. Fixed now.
Next up: still want to wire notes into the file manager like I said last time. Settings kind of jumped the queue because it felt like a quick win, but that’s still the bigger structural thing on my list.
Thanks for stopping by!