mirror of
https://github.com/vicious-widgets/vicious
synced 2023-12-14 07:13:07 +01:00
Fixed batat module name and expanded bat states and symbols.
This commit is contained in:
parent
b331cb1570
commit
9cd250be0b
1 changed files with 4 additions and 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"] = "-"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue