Reverted battery change

This commit is contained in:
Trial97 2022-03-25 20:34:24 +02:00
parent 79842ac34b
commit 8d4c137fde
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318
1 changed files with 4 additions and 4 deletions

View File

@ -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