💾 Archived View for bbs.geminispace.org › s › Lagrange › 4601 captured on 2023-09-08 at 16:23:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-09-28)

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

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

2023-08-21 · 3 weeks ago · 👍 sirwilburthefirst

1 Comment

🐝 november

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.