aboutsummaryrefslogtreecommitdiff
path: root/cpufreq.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-06 22:12:47 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-06 22:12:47 +0100
commit9371839401f89afacf6919671fff4a414b4bb841 (patch)
tree23cea127ebf91a5bd308bbbb2296bd90a15f9989 /cpufreq.lua
parentdbd6c7b03edf6250b2f5acdf054b3392ace243e9 (diff)
downloadvicious-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.lua8
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