From: copycat-killer Date: Tue, 22 Mar 2016 17:41:39 +0000 (+0100) Subject: #177 fixed typo X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/e5abb784433ce678273d72eb9716b18ac45b5c82?ds=sidebyside;hp=-c #177 fixed typo --- e5abb784433ce678273d72eb9716b18ac45b5c82 diff --git a/widgets/bat.lua b/widgets/bat.lua index 56bba23..f3fcbdf 100644 --- a/widgets/bat.lua +++ b/widgets/bat.lua @@ -80,7 +80,7 @@ local function worker(args) first_line(bstr .. "/charge_full")) bat_now.status = first_line(bstr .. "/status") or "N/A" - bat_now.ac = first_line(string.format("/sys/class/power_supply/%s/online", ac)) or "N/A" + bat_now.ac_status = first_line(string.format("/sys/class/power_supply/%s/online", ac)) or "N/A" local time_rat = 0 if bat_now.status == "Charging" diff --git a/wiki b/wiki index 3abe7c4..bc955e7 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 3abe7c4113a2ebcb2b95dc50e2176d2e5e44a947 +Subproject commit bc955e7cd731f672831e6f9013037cccf38b6c9b