#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

#670 in Filesystem

Download history 173/week @ 2024-09-16 49/week @ 2024-09-23 63/week @ 2024-09-30 44/week @ 2024-10-07 37/week @ 2024-10-14 78/week @ 2024-10-21 326/week @ 2024-10-28

494 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