From 86f3bdd143fb3f70673116d2ac9b1d62b77906ae Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Fri, 6 Jan 2023 16:30:44 +0100 Subject: awesome: separate cpu text from graph for readability --- awesome/rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'awesome') diff --git a/awesome/rc.lua b/awesome/rc.lua index 50a1ef1..f9ac3ca 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -165,9 +165,9 @@ function create_cpu_widget() graph:set_width(50) vicious.register(graph, vicious.widgets.cpu, "$1", 2) return wibox.widget { + wibox.widget.textbox(" CPU "), wibox.container.mirror(graph, { horizontal = true }), - wibox.widget.textbox(" CPU"), - layout = wibox.layout.stack + layout = wibox.layout.fixed.horizontal } end local cpuwidget = create_cpu_widget() -- cgit v1.2.3