Skip to content

zrpaplicacoes/batman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batman Gif

Batman - CLI Battery Manager

Introduction

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 😱 :

Batman Demo

Installation

  • Clone the repo

  • Enter in the folder

  • Run the install

or

git clone https://github.com/zrpaplicacoes/batman.git

cd batman

./install.sh

Configuration

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.

Example:

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'

More info

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages