Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davydovanton/anybar_rb
Ruby wrapper for AnyBar.app
https://github.com/davydovanton/anybar_rb
anybar ruby ruby-wrapper
Last synced: 4 months ago
JSON representation
Ruby wrapper for AnyBar.app
- Host: GitHub
- URL: https://github.com/davydovanton/anybar_rb
- Owner: davydovanton
- License: mit
- Created: 2015-03-22T20:33:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-28T07:52:08.000Z (about 8 years ago)
- Last Synced: 2024-10-06T04:37:50.573Z (4 months ago)
- Topics: anybar, ruby, ruby-wrapper
- Language: Ruby
- Size: 12.7 KB
- Stars: 37
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# AnyBar_rb
Simple ruby wrapper for [AnyBar](https://github.com/tonsky/AnyBar)## Installation
**You must have AnyBar installed and running**Add this line to application's Gemfile:
```ruby
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:``` ruby
any_bar = AnyBar::Client.new(port)
any_bar.color = 'red'
any_bar.color # => 'red'
```### Console
Change AnyBar color:
```
$ any_bar red
```_**By default `` value is equal `1738`**_
## Contributing
1. Fork it ( https://github.com/davydovanton/AnyBar_rb/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request