| Crates.io | gse_do_not_disturb |
| lib.rs | gse_do_not_disturb |
| version | 1.2.0 |
| created_at | 2018-10-18 19:24:12.716004+00 |
| updated_at | 2018-10-20 12:21:51.483403+00 |
| description | A Rust crate for interacting with the Do Not Disturb GNOME Shell Extension |
| homepage | |
| repository | https://github.com/kylecorry31/gse_do_not_disturb |
| max_upload_size | |
| id | 91392 |
| size | 5,654 |
A Rust crate for interacting with the Do Not Disturb GNOME Shell Extension.
Version 1.2.0 - Changelog
cargo build --release
First add the following to your Cargo.toml:
[dependencies]
gse_do_not_disturb = "1.2.0"
Next, add this to your crate root:
extern crate gse_do_not_disturb;
use gse_do_not_disturb::{DoNotDisturb};
// later
let dnd = DoNotDisturb::new().unwrap();
dnd.activate().unwrap();
Please fork this repo and submit a pull request to contribute. I will review all changes and respond if they are accepted or rejected (as well as reasons, so it will be accepted).
If you are submitting a bug, please describe the bug in detail and how to replicate if possible. Logs are also very useful.
If you are submitting a feature idea, please describe it in detail and document the potential use cases of that feature if it isn't clear.
You are free to copy, modify, and distribute do-not-disturb with attribution under the terms of the MIT license. See the LICENSE file for details.