I cannot work out how to add a tile to atom's statusbar


#1

I downloaded the “power-bar” module for atom, it works great, however, it doesn’t display the battery level on the statusbar, it should be a simple task, but I can not work it out! please help.

also please no coffeescript.

thanks


#2

Are you asking about how to modify the power-bar package to do something new, or how to implement a new feature in Atom?

CoffeeScript is the default language of the init script and used to be the default language for all Atom packages. It is faster to write than JS and easier for non-coders to understand. It is exceptionally easy to convert CS to JS using one of the many tools available online (including the official one). If I give you code, it will probably be in CoffeeScript. You are perfectly capable of adapting it to your needs.