Batman is a simple shell plugin which adds in the Right Prompt icons showing battery status.
It's focused on programmers that spend lots of time programming in notebooks. 😎
Look at those arrows 😱 :
-
Clone the repo
-
Enter in the folder
-
Run the install
or
git clone https://github.com/zrpaplicacoes/batman.git
cd batman
./install.sh
In order to change battery icon (full list of available unicode icons here, default full charge color, default almost full charge color, default lack of battery color and default alert color just change global variables before source call in your .bashrc or .zshrc.
BATTERY_SYMBOL='\u22d9'
DANGER_COLOR='%{\e[1;31m%}'
ALERT_COLOR='%{\e[1;33m%}'
SAFE_COLOR='%{\e[1;32m%}'
FULL_COLOR='%{\e[1;35m%}'
source '~/bin/batman/plugin.sh'
- ZRP blog - PT-BR only 😊