From: copycat-killer Date: Fri, 24 Jun 2016 18:14:23 +0000 (+0200) Subject: some fixes X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/14a3f6689ba5f3d189aa8d47f857dab1ffa2a3e7?ds=inline some fixes --- diff --git a/widgets/bat.lua b/widgets/bat.lua index fa9f854..080c43f 100644 --- a/widgets/bat.lua +++ b/widgets/bat.lua @@ -70,7 +70,6 @@ local function worker(args) local sum_energy_full = 0 local sum_energy_percentage = 0 local pspath = "/sys/class/power_supply/" - -- local pspath = "/home/luke/Download/" for i, battery in ipairs(batteries) do local bstr = pspath .. battery diff --git a/widgets/fs.lua b/widgets/fs.lua index a1d5d95..6ec8dac 100644 --- a/widgets/fs.lua +++ b/widgets/fs.lua @@ -92,6 +92,7 @@ local function worker(args) fs_now.size_mb = tonumber(fs_info[partition .. " size_mb"]) or 0 fs_now.size_gb = tonumber(fs_info[partition .. " size_gb"]) or 0 + notification_preset = fs.notification_preset widget = fs.widget settings()