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, {