mirror of https://github.com/lcpz/lain.git
some fixes
This commit is contained in:
parent
c73b151849
commit
14a3f6689b
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue