diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-06 22:12:47 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-03-06 22:12:47 +0100 |
commit | 9371839401f89afacf6919671fff4a414b4bb841 (patch) | |
tree | 23cea127ebf91a5bd308bbbb2296bd90a15f9989 /bat.lua | |
parent | dbd6c7b03edf6250b2f5acdf054b3392ace243e9 (diff) | |
download | vicious-legacy-9371839401f89afacf6919671fff4a414b4bb841.tar.xz |
volume: added real mute support
Widge type returns 1st value as the volume level and 2nd as the mute
state of the requested channel represented as a symbol.
Diffstat (limited to 'bat.lua')
-rw-r--r-- | bat.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -24,10 +24,10 @@ local function worker(format, batid) -- Apple PMU and ACPI/procfs battery widgets are in the [contrib] branch local battery = helpers.pathtotable("/sys/class/power_supply/" .. batid) local battery_state = { - ["Full\n"] = "↯", - ["Unknown\n"] = "⌁", - ["Charged\n"] = "↯", - ["Charging\n"] = "+", + ["Full\n"] = "↯", + ["Unknown\n"] = "⌁", + ["Charged\n"] = "↯", + ["Charging\n"] = "+", ["Discharging\n"] = "-" } |