Skip to content

RafaelTCostella/batman

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 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 who spend lots of time programming in notebooks. 😎

Look at those arrows 😱 :

Batman Demo

Installation

  • Clone the repo

  • Run the install by typing ./install.sh

or

git clone [email protected]:zrpaplicacoes/batman.git | sh install.sh

(assuming ssh configured)

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

  • Shell 100.0%