View Single Post
cutehunk04's Avatar
Posts: 472 | Thanked: 195 times | Joined on Jun 2010 @ India, Mumbai
#3038
Originally Posted by Red_Fox View Post
1. new qbw-- beecon, no snippet
2. add cmd
3. paste this script in commad box:

hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {exit perc/10+3} else {exit 13;}'

4. rename queen-beecon-index.png to battery.png (in the 5th box: >=3)

save and run...
will try again...