Skip to content

haydenheroux/batquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batquery

Battery status interface made for statusbars.

run

There are no dependencies required to build this program, other than make. Display of icons requires the use of a Nerd Font.

make
./batquery /sys/class/power_supply/BAT0
make install

usage

usage: batquery [-i] [-p | -t] <battery_path>
                 -i: show battery status icon
                 -p: show battery percent
                 -t: show time remaining

statusbar

batquery writes all non-error information to the standard output stream. Statusbars which operate by embedding a program's standard output stream are likely to be fully compatible with this program. For example, dwmblocks works as expected, as does tmux.

About

Battery status interface made for statusbars.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published