Jump to content

Recommended Posts

AnyBar Workflow


AnyBar is an application that sits in the menu bar and displays the currently set graphic. It is updated by UDP requests. This worklfow is to make using it easy. I am working to integrate this with my Hammerspoon workflow to show the state of Mac sleep.

This workflow requires the anybar application to be installed. The easiest way to install is by home-brew cask:

brew cask install anybar

If you do not have home-brew cask installed, follow the instructions here: [HomeBrew Cask](http://caskroom.io/). If you do not have HomeBrew installed, follow the instructions here: [HomeBrew](http://brew.sh/). Then execute the above line.

Once installed, you can use the features of this workflow:

Launches anybar with optional port number.

Set the graphic for the anybar application. It will give a list of usable graphics. Start typing and the list will be narrowed down to the ones that match. Select the one and the last launched Anybar will be changed to that graphic.

This allows you to set the port number of the AnyBar app.

This copies the graphics I created to the ~/.AnyBar directory.

There is a file action, Copy to Anybar,  that will copy a png graphic to the ~/.AnyBar directory so that it can be used with the program.

There are two External Triggers: SetGraphic and Launch. The SetGraphic external trigger expects a string with the name of the graphic, a '|', and a port number. The Launch external trigger expects a UDP port number to launch the AnyBar program on.


Packal:  http://www.packal.org/workflow/anybar-workflow

My web site:   http://customct.com

GitHub:    https://github.com/raguay/MyAlfred

Edited by raguay.customct
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...