some fixes

This commit is contained in:
copycat-killer 2016-06-24 20:14:23 +02:00
parent c73b151849
commit 14a3f6689b
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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()