bat: added a note about Apple PMU and ACPI/procfs
This commit is contained in:
parent
23d09f0c5d
commit
b96cb98352
1
bat.lua
1
bat.lua
|
@ -21,6 +21,7 @@ module("vicious.bat")
|
|||
|
||||
-- {{{ Battery widget type
|
||||
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"] = "↯",
|
||||
|
|
|
@ -21,7 +21,7 @@ local function worker(format, cpuid)
|
|||
local governor_state = {
|
||||
["ondemand\n"] = "↯",
|
||||
["powersave\n"] = "⌁",
|
||||
["userspace\n"] = "@",
|
||||
["userspace\n"] = "¤",
|
||||
["performance\n"] = "⚡",
|
||||
["conservative\n"] = "↯"
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
---------------------------------------------------
|
||||
-- Licensed under the GNU General Public License v2
|
||||
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
|
||||
-- * (c) 2010, Rémy C. <shikamaru@mandriva.org>
|
||||
-- * (c) 2010, Benedikt Sauer <filmor@gmail.com>
|
||||
-- * (c) 2009, Rémy C. <shikamaru@mandriva.org>
|
||||
-- * (c) 2009, Benedikt Sauer <filmor@gmail.com>
|
||||
-- * (c) 2009, Henning Glawe <glaweh@debian.org>
|
||||
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
|
||||
---------------------------------------------------
|
||||
|
||||
|
|
1
net.lua
1
net.lua
|
@ -1,7 +1,6 @@
|
|||
---------------------------------------------------
|
||||
-- Licensed under the GNU General Public License v2
|
||||
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
|
||||
-- * (c) 2010, Henning Glawe <glaweh@debian.org>
|
||||
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
|
||||
---------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue