From ded5fa47f994b03fdd9bea810b444b9c020c7b17 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Mon, 30 Jan 2023 15:15:52 +0100 Subject: [PATCH] Removed markup function --- awesome/theme.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/awesome/theme.lua b/awesome/theme.lua index 9cf49ea..f96639e 100644 --- a/awesome/theme.lua +++ b/awesome/theme.lua @@ -111,8 +111,6 @@ theme.titlebar_maximized_button_focus_active = theme.confdir .. '/icons/titlebar theme.tasklist_fg_minimize = '#b3b3b3' theme.tasklist_bg_minimize = '#4d4d4d' -local markup = lain.util.markup - local function build_widget_list(widgets) local out = {} local last_bg = 'alpha' @@ -178,7 +176,7 @@ if settings['show_battery'] == true then perc = perc .. ' plug' end - widget:set_markup(markup.fontfg(theme.font, theme.fg_normal, perc .. ' ')) + widget:set_text(perc) end, }) table.insert(info_widgets, { @@ -249,7 +247,7 @@ table.insert(info_widgets, { local cpu = lain.widget.cpu({ settings = function() -- luacheck: globals widget cpu_now - widget:set_markup(cpu_now.usage .. '%') + widget:set_text(cpu_now.usage .. '%') end, }) table.insert(info_widgets, {