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

Tags: , ,

2 Responses to “display battery information on fbpanel”

  1. Tip: Mostrar el estado de la bateria en fbpanel « Ubuntu Life Says:

    [...] Original de | Paragasu [...]

  2. zbit Says:

    This command works better for me:

    acpi – i | awk ‘{print $NF}’

    zBit

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 )

Connecting to %s


Follow

Get every new post delivered to your Inbox.