mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
forgot to update copland for lain issue #7 fix as well
This commit is contained in:
parent
55852641cf
commit
6068f6ae7e
|
@ -215,12 +215,12 @@ diskmargin:set_bottom(6)
|
|||
fshomeupd = lain.widgets.fs({
|
||||
partition = "/home",
|
||||
settings = function()
|
||||
if used < 90 then
|
||||
if fs_now.used < 90 then
|
||||
diskbar:set_color(beautiful.fg_normal)
|
||||
else
|
||||
diskbar:set_color("#EB8F8F")
|
||||
end
|
||||
diskbar:set_value(used / 100)
|
||||
diskbar:set_value(fs_now.used / 100)
|
||||
end
|
||||
})
|
||||
diskwidget = wibox.widget.background(diskmargin)
|
||||
|
|
Loading…
Reference in a new issue