anybar

Crates.ioanybar
lib.rsanybar
version0.1.3
sourcesrc
created_at2016-05-23 22:18:48.774485
updated_at2016-09-11 08:27:21.78477
descriptionA Rust crate to interact with Anybar.
homepagehttps://github.com/Feliix42/anybar-rs
repositoryhttps://github.com/Feliix42/anybar-rs
max_upload_size
id5167
size8,643
Felix Wittwer (Feliix42)

documentation

https://feliix42.github.io/anybar-rs/

README

anybar-rs

This is a small Rust Crate for AnyBar.

Build Status Crates.io

Examples

Connect using the default port

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();

Connect using a separate port

use anybar::*;

// Anybar::new() takes the AnyBar port as parameter
let mut custom_bar = Anybar::new(1708);
custom_bar.set_color(Color::Exclamation).unwrap();

Usage & Documentation

Please check the documentation for more examples and details on certain functions.

License

This work is licensed under the MIT license. See LICENSE for more information.

Commit count: 27

cargo fmt