Awesome
AnyBar_rb
Simple ruby wrapper for AnyBar
Installation
You must have AnyBar installed and running
Add this line to application's Gemfile:
gem 'any_bar'
And then execute:
$ bundle
Or install it yourself as:
$ gem install any_bar
Usage
Application
Change anybar color from app using this syntax:
any_bar = AnyBar::Client.new(port)
any_bar.color = 'red'
any_bar.color # => 'red'
Console
Change AnyBar color:
$ any_bar red <port>
By default <port>
value is equal 1738
Contributing
- Fork it ( https://github.com/davydovanton/AnyBar_rb/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request