From 67e786fb233844c8e0c6c751fc4651e0f440b9d2 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Fri, 13 Jan 2023 15:33:37 +0100 Subject: [PATCH] Fixed disk indicator --- .config/awesome/theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/awesome/theme.lua b/.config/awesome/theme.lua index 6e24424..19c3292 100644 --- a/.config/awesome/theme.lua +++ b/.config/awesome/theme.lua @@ -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(