#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

#715 in Filesystem

Download history 209/week @ 2024-09-20 53/week @ 2024-09-27 60/week @ 2024-10-04 30/week @ 2024-10-11 86/week @ 2024-10-18 246/week @ 2024-10-25 105/week @ 2024-11-01 15/week @ 2024-11-08 42/week @ 2024-11-15 30/week @ 2024-11-22 24/week @ 2024-11-29

114 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