Skip to content

A simple utility that updates anybar colors based on the status of a bash command

License

Notifications You must be signed in to change notification settings

rvirani1/with_anybar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gem Version

with_anybar

With_anybar is a simple gem that uses 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"

About

A simple utility that updates anybar colors based on the status of a bash command

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages