https://github.com/davydovanton/anybar_cr
Simple crystal wrapper for AnyBar
https://github.com/davydovanton/anybar_cr
anybar crystal wrapper
Last synced: 3 months ago
JSON representation
Simple crystal wrapper for AnyBar
- Host: GitHub
- URL: https://github.com/davydovanton/anybar_cr
- Owner: davydovanton
- License: mit
- Created: 2015-07-17T13:00:02.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-22T17:16:05.000Z (over 9 years ago)
- Last Synced: 2025-03-29T05:51:18.816Z (3 months ago)
- Topics: anybar, crystal, wrapper
- Language: Crystal
- Size: 4.88 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AnyBar
Simple [crystal](http://crystal-lang.org) wrapper for [AnyBar](https://github.com/tonsky/AnyBar)## Installation
Add this to your application's shard.yml:```yml
dependencies:
AnyBar_cr:
github: davydovanton/AnyBar_cr
```## Usage
**You must have AnyBar installed and running**
``` crystal
require "any_bar"
```You can change bar color from your app using this syntax:
``` crystal
any_bar = AnyBar::Client.new(port)
any_bar.color = 'red'
any_bar.color # => 'red'
```_**By default port is equal 1738**_
## Contributing
1. Fork it ( https://github.com/davydovanton/any_bar_cr/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## Contributors
- [davydovanton](https://github.com/davydovanton) Anton Davydov - creator, maintainer