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

darkmode

Darkmode detection on linux using XDG desktop portal

1 unstable release

0.1.0 Sep 21, 2024

#1101 in Filesystem

Download history 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 58/week @ 2025-01-18 71/week @ 2025-01-25 56/week @ 2025-02-01 41/week @ 2025-02-08 18/week @ 2025-02-15 28/week @ 2025-02-22 19/week @ 2025-03-01

120 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
~113K SLoC