From: copycat-killer Date: Tue, 16 Aug 2016 10:40:51 +0000 (+0200) Subject: #222 #223: percentage shown for every battery; fix typo X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/1eb2829cace5dbb35b7b9d5eb0df838296f21589?ds=sidebyside;hp=-c #222 #223: percentage shown for every battery; fix typo --- 1eb2829cace5dbb35b7b9d5eb0df838296f21589 diff --git a/widgets/bat.lua b/widgets/bat.lua index e633e50..54959eb 100644 --- a/widgets/bat.lua +++ b/widgets/bat.lua @@ -64,7 +64,7 @@ local function worker(args) bat_now.n_status = {} for i = 1, #batteries do bat_now.n_status[i] = "N/A" - bat_now.perc[i] = 0 + bat_now.n_perc[i] = 0 end function update()