mirror of https://github.com/lcpz/lain.git
Reverted battery change
This commit is contained in:
parent
79842ac34b
commit
8d4c137fde
|
@ -22,7 +22,7 @@ local function factory(args)
|
|||
local pspath = args.pspath or "/sys/class/power_supply/"
|
||||
|
||||
if not fs.is_dir(pspath) then
|
||||
naughty.notify { text = tostring(...):match(".*lain") .. ".widget.bat: invalid power supply path", timeout = 0 }
|
||||
naughty.notify { text = "lain.widget.bat: invalid power supply path", timeout = 0 }
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue