Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/modprog/darkmode
https://github.com/modprog/darkmode
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/modprog/darkmode
- Owner: ModProg
- License: apache-2.0
- Created: 2024-09-21T20:08:10.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-28T19:28:17.000Z (4 months ago)
- Last Synced: 2024-11-26T09:05:24.399Z (about 2 months ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 2
- 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.