💾 Archived View for bbs.geminispace.org › s › Lagrange › 4601 captured on 2024-05-10 at 11:08:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

➡️ Next capture (2024-06-16)

🚧 View Differences

-=-=-=-=-=-=-

Re: Dark mode/light mode

November’s Gemlog: 2023-08-20 — Dark mode/light mode

@november laments the lack of automatic dark/light mode switching in Lagrange.

The good news is that Lagrange is already fully equipped for this because it has been implemented for macOS and iOS.

The bad news is that supporting this on further platforms requires specialized code for each platform. There's already a feature request open on GitHub about adding support for this on Windows, for instance.

I understand you're talking about GNOME, though. Since Lagrange uses none of the GNOME libraries, it cannot easily access the system-wide setting for dark mode. At a glance it seems at least D-Bus is required, and Lagrange does not use that (directly) either. D-Bus would be a pretty useful addition for Linux desktop environments for a few other reasons, though.

So, simply put, it would need a lot of code to implement this rather small feature. I'll probably get around to it eventually, though.

PS. The Lagrange link in the bottom shouldn't use the gmi.skyjake.fi domain, just

gemini://skyjake.fi/lagrange/

Posted in: s/Lagrange

🕹️ skyjake [mod, sysop]

2023-08-21 · 9 months ago · 👍 sirwilburthefirst

1 Comment

🐝 november [...] · 2023-08-21 at 15:42:

Thanks, I’ve updated the link. I originally wrote the entry for the web and then just changed the protocol in the link, I didn't think to actually look up whether the link was different on Gemini. You’d think I would know better.