https://github.com/rvirani1/with_anybar
A simple utility that updates anybar colors based on the status of a bash command
https://github.com/rvirani1/with_anybar
anybar
Last synced: 3 months ago
JSON representation
A simple utility that updates anybar colors based on the status of a bash command
- Host: GitHub
- URL: https://github.com/rvirani1/with_anybar
- Owner: rvirani1
- License: mit
- Created: 2015-07-08T17:26:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-09T20:32:09.000Z (almost 10 years ago)
- Last Synced: 2025-01-20T05:40:39.911Z (4 months ago)
- Topics: anybar
- Language: Ruby
- Size: 128 KB
- Stars: 20
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://badge.fury.io/rb/with_anybar)
# with_anybar
With_anybar is a simple gem that uses [AnyBar](https://github.com/tonsky/AnyBar) as a notification system for a long running command line command. For example, you may need to execute a long build process or script that sometimes may error. Rather than manually checking the status of that command, you can see whether it's complete via AnyBar!
## Installation
Install AnyBar
$ brew cask install anybar
Install the with_anybar gem
$ gem install with_anybar
## Usage
Call any command on your terminal using with_anybar
$ with_anybar say "Your AnyBar should turn orange before turning green right now"
While the command is running, your AnyBar will turn **ORANGE**
If the command succeeds, your AnyBar will turn **GREEN**
If the command fails, your AnyBar will turn **RED**
If you are running multiple instances of AnyBar or not running it on the standard port (1738), you can set the
`ANYBAR_PORT` environment variable on run.$ ANYBAR_PORT=1739 with_anybar say "Your AnyBar should turn orange before turning green right now"