Crates.io | anybar |
lib.rs | anybar |
version | 0.1.3 |
source | src |
created_at | 2016-05-23 22:18:48.774485 |
updated_at | 2016-09-11 08:27:21.78477 |
description | A Rust crate to interact with Anybar. |
homepage | https://github.com/Feliix42/anybar-rs |
repository | https://github.com/Feliix42/anybar-rs |
max_upload_size | |
id | 5167 |
size | 8,643 |
This is a small Rust Crate for AnyBar.
use anybar::*;
// create a new AnyBar instance connected to the default port
let mut bar = Anybar::default();
// set the color
bar.set_color(Color::Red).unwrap();
use anybar::*;
// Anybar::new() takes the AnyBar port as parameter
let mut custom_bar = Anybar::new(1708);
custom_bar.set_color(Color::Exclamation).unwrap();
Please check the documentation for more examples and details on certain functions.
This work is licensed under the MIT license. See LICENSE
for more information.