https://github.com/modprog/darkmode
https://github.com/modprog/darkmode
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/modprog/darkmode
- Owner: ModProg
- License: apache-2.0
- Created: 2024-09-21T20:08:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-28T19:28:17.000Z (almost 2 years ago)
- Last Synced: 2025-08-03T17:17:16.387Z (11 months ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# darkmode
This crate currently only supports Linux. Though I'm not opposed to add
other platforms. It uses the
[XDG Desktop Portal Settings](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html#org-freedesktop-portal-settings-settingchanged).
It is intended as a minimal crate to be used on top of `winit`'s built-in
dark mode detection on other OSes.