diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-29 23:13:24 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-29 23:13:24 +0200 |
commit | 9cd250be0b046cf4692df077e9e1db1d050345d0 (patch) | |
tree | a852e375b7a030bc205098c8a5065c10e40e778d | |
parent | b331cb15707055190d2485ad492eabda6cece03b (diff) | |
download | vicious-legacy-9cd250be0b046cf4692df077e9e1db1d050345d0.tar.xz |
Fixed batat module name and expanded bat states and symbols.
-rw-r--r-- | batat.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9,7 +9,7 @@ local table = { insert = table.insert } -- }}} --- Bat: provides state, charge, and remaining time for all batteries using acpitool +-- Batat: provides state, charge, and remaining time for all batteries using acpitool module("vicious.batat") @@ -18,7 +18,9 @@ function worker(format) -- Initialise tables local battery_info = {} local battery_state = { - ["charged"] = "+", + ["full"] = "*", + ["unknown"] = " " + ["charged"] = "*", ["charging"] = "+", ["discharging"] = "-" } |