Fixed disk indicator

This commit is contained in:
Mutzi 2023-01-13 15:33:37 +01:00
parent 00141c46a3
commit 67e786fb23

View File

@ -114,7 +114,7 @@ local fsicon = wibox.widget.imagebox(theme.widget_fs)
theme.fs = lain.widget.fs({
notification_preset = { font = "Terminus 10", fg = theme.fg_normal },
settings = function()
widget:set_markup(markup.fontfg(theme.font, "#80d9d8", string.format("%.1f", fs_now["/"].used) .. "% "))
widget:set_markup(markup.fontfg(theme.font, "#80d9d8", fs_now["/"].percentage .. "% (" .. string.format("%.3f", fs_now["/"].free) .. " " .. fs_now["/"].units .. " left)"))
end
})
theme.fs.widget:buttons(gears.table.join(