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 /cpufreq.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 'cpufreq.lua')
-rw-r--r-- | cpufreq.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpufreq.lua b/cpufreq.lua index 7c62455..aa36151 100644 --- a/cpufreq.lua +++ b/cpufreq.lua @@ -19,10 +19,10 @@ module("vicious.cpufreq") local function worker(format, cpuid) local cpufreq = helpers.pathtotable("/sys/devices/system/cpu/"..cpuid.."/cpufreq") local governor_state = { - ["ondemand\n"] = "↯", - ["powersave\n"] = "⌁", - ["userspace\n"] = "¤", - ["performance\n"] = "⚡", + ["ondemand\n"] = "↯", + ["powersave\n"] = "⌁", + ["userspace\n"] = "¤", + ["performance\n"] = "⚡", ["conservative\n"] = "↯" } -- Default voltage values |