X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/db253f9c550172a8331ee56d48f1c5ae4f59afb8..202ab106d51a622d5a00b87c5f0b8b0997357933:/widgets/bat.lua?ds=inline 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