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

darkmode

Darkmode detection on linux using XDG desktop portal

1 unstable release

0.1.0 Sep 21, 2024

#977 in Filesystem

Download history 51/week @ 2024-10-05 31/week @ 2024-10-12 86/week @ 2024-10-19 259/week @ 2024-10-26 99/week @ 2024-11-02 6/week @ 2024-11-09 47/week @ 2024-11-16 32/week @ 2024-11-23 16/week @ 2024-11-30 26/week @ 2024-12-07 53/week @ 2024-12-14 12/week @ 2024-12-21 10/week @ 2024-12-28 94/week @ 2025-01-04 48/week @ 2025-01-11 44/week @ 2025-01-18

196 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