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.