display battery information on fbpanel

i wrote a simple plugin to display the percentage of battery on fbpanel (i am using openbox + debian)

put this code inside ~/.config/fbpanel/default

Plugin {
type=genmon
config {
Command = echo $(acpi -b | cut -d, -f2)
PollingTime = 2
TextSize = small
TextColor = red
}
}

this is how it look like
fbpanel battery status

Advertisements

Published by

paragasu

Different. In a good way

2 thoughts on “display battery information on fbpanel”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s