#portal #desktop #xdg #detection #mode #dark #settings

darkmode

Darkmode detection on linux using XDG desktop portal

1 unstable release

0.1.0 Sep 21, 2024

#663 in Filesystem

Download history 194/week @ 2024-09-18 42/week @ 2024-09-25 70/week @ 2024-10-02 30/week @ 2024-10-09 69/week @ 2024-10-16 270/week @ 2024-10-23 107/week @ 2024-10-30 20/week @ 2024-11-06 15/week @ 2024-11-13

438 downloads per month

MIT/Apache

8KB
131 lines

darkmode

This crate currently only supports Linux. Though I'm not opposed to add other platforms. It uses the XDG Desktop Portal Settings. It is intended as a minimal crate to be used on top of winit's built-in dark mode detection on other OSes.


lib.rs:

This crate currently only supports Linux. Though I'm not opposed to add other platforms. It uses the XDG Desktop Portal Settings.

It is intended as a minimal crate to be used on top of winit's built-in dark mode detection on other OSes.

Dependencies

~5MB
~114K SLoC