mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2026-03-23 05:55:12 +00:00
fix: use correct disk percentage
This was the original value. It was changed in ad6d3f2 because
(according to commit message) precentage stopped working. Now, it seems
to be working again.
This commit is contained in:
parent
a30cc39f11
commit
2e7e42fa43
|
|
@ -130,7 +130,7 @@ local fsicon = wibox.widget.imagebox(theme.widget_fs)
|
||||||
theme.fs = lain.widget.fs({
|
theme.fs = lain.widget.fs({
|
||||||
notification_preset = { font = "Terminus 10", fg = theme.fg_normal },
|
notification_preset = { font = "Terminus 10", fg = theme.fg_normal },
|
||||||
settings = function()
|
settings = function()
|
||||||
widget:set_markup(markup.fontfg(theme.font, "#80d9d8", string.format("%.1f", fs_now["/"].used) .. "% "))
|
widget:set_markup(markup.fontfg(theme.font, "#80d9d8", string.format("%.1f", fs_now["/"].percentage) .. "% "))
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
--]]
|
--]]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue