From: luke bonham Date: Sun, 6 Oct 2013 22:26:26 +0000 (+0200) Subject: little fix X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/5d6e2fa3d1bb8ce7a5af5543ba073f0aefd6b8a6 little fix --- diff --git a/widgets/bat.lua b/widgets/bat.lua index a064e30..2906de2 100644 --- a/widgets/bat.lua +++ b/widgets/bat.lua @@ -92,7 +92,7 @@ local function worker(args) if rate ~= nil and ratev ~= nil then bat_now.watt = string.format("%.2fW", (rate * ratev) / 1e12) else - bat_not.watt = "N/A" + bat_now.watt = "N/A" end -- notifications for low and critical states