X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/f0deb3749f0188c31ac91f3308e8925275dcb290..1129e88960205b9193b0d8b1c9358acd9c8d27b0:/widgets/bat.lua?ds=sidebyside diff --git a/widgets/bat.lua b/widgets/bat.lua index e43875f..9ab0cdc 100644 --- a/widgets/bat.lua +++ b/widgets/bat.lua @@ -62,6 +62,7 @@ local function worker(args) } bat_now.n_status = {} + bat_now.n_perc = {} for i = 1, #batteries do bat_now.n_status[i] = "N/A" bat_now.n_perc[i] = 0