#gnome #extension #shell #disturb

gse_do_not_disturb

A Rust crate for interacting with the Do Not Disturb GNOME Shell Extension

5 stable releases

Uses old Rust 2015

1.2.0 Oct 20, 2018
1.1.0 Oct 19, 2018
1.0.2 Oct 18, 2018

#169 in #gnome

MIT license

4KB

gse_do_not_disturb

Build Status

A Rust crate for interacting with the Do Not Disturb GNOME Shell Extension.

Version 1.2.0 - Changelog

Getting started

Dependencies

Build from sources

cargo build --release

Usage

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;

Examples

use gse_do_not_disturb::{DoNotDisturb};

// later
let dnd = DoNotDisturb::new().unwrap();
dnd.activate().unwrap();

Contributing

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).

Issues

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.

Credits

License

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.

Dependencies

~5KB