From 14a3f6689ba5f3d189aa8d47f857dab1ffa2a3e7 Mon Sep 17 00:00:00 2001 From: copycat-killer Date: Fri, 24 Jun 2016 20:14:23 +0200 Subject: [PATCH] some fixes --- widgets/bat.lua | 1 - widgets/fs.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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()