From: copycat-killer Date: Sat, 25 Jun 2016 12:10:38 +0000 (+0200) Subject: Merge branch 'master' of https://github.com/copycat-killer/lain X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/202ab106d51a622d5a00b87c5f0b8b0997357933?hp=db253f9c550172a8331ee56d48f1c5ae4f59afb8 Merge branch 'master' of https://github.com/copycat-killer/lain --- diff --git a/widgets/bat.lua b/widgets/bat.lua index f3ddd33..d429c71 100644 --- a/widgets/bat.lua +++ b/widgets/bat.lua @@ -70,8 +70,7 @@ local function worker(args) local sum_energy_now = 0 local sum_energy_full = 0 local sum_energy_percentage = 0 - --local pspath = "/sys/class/power_supply/" - local pspath = "/home/luke/Download/" + local pspath = "/sys/class/power_supply/" for i, battery in ipairs(batteries) do local bstr = pspath .. battery