From 16c16bb16eb1f2d272d6bd85872a05c8c958aeb6 Mon Sep 17 00:00:00 2001 From: thenbe <33713262+thenbe@users.noreply.github.com> Date: Tue, 18 Jul 2023 21:22:03 +0300 Subject: [PATCH] fix: use correct disk percentage (#305) 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. --- themes/multicolor/theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/multicolor/theme.lua b/themes/multicolor/theme.lua index e7cbbce..f7d62b5 100644 --- a/themes/multicolor/theme.lua +++ b/themes/multicolor/theme.lua @@ -130,7 +130,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", string.format("%.1f", fs_now["/"].percentage) .. "% ")) end }) --]]