Skip to content
/ mundy Public

Reads various system-level accessibility and UI preferences 🐋

License

Notifications You must be signed in to change notification settings

bash/mundy

Repository files navigation

mundy 🐋

Docs Crate Version

Your friendly neighbourhood whale crate for reading various system-level accessibility and UI preferences across platforms 🐋

The following preferences are supported:

Example

use mundy::{Preferences, Interest};
use futures_lite::StreamExt as _;

// Interest tells mundy which preferences it should monitor for you.
// use `Interest::All` if you're interested in all preferences.
let mut stream = Preferences::stream(Interest::AccentColor);

async {
    while let Some(preferences) = stream.next().await {
        eprintln!("accent color: {:?}", preferences.accent_color);
    }
};

License

Licensed under the Apache License, Version 2.0 (license.txt or http://www.apache.org/licenses/LICENSE-2.0)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

Reads various system-level accessibility and UI preferences 🐋

Resources

License

Stars

Watchers

Forks

Languages