View Single Post
Posts: 42 | Thanked: 110 times | Joined on Oct 2010 @ Italy
#3037
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...
 

The Following 2 Users Say Thank You to Red_Fox For This Useful Post: