From d4335aa52fe5667a55faf3003a1da58b5a724198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Thu, 21 Jul 2022 16:08:57 +0200 Subject: [PATCH] Adjust spacing --- awesome/components/pastel/top-panel.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/awesome/components/pastel/top-panel.lua b/awesome/components/pastel/top-panel.lua index 5ace75c..17faa60 100644 --- a/awesome/components/pastel/top-panel.lua +++ b/awesome/components/pastel/top-panel.lua @@ -41,10 +41,10 @@ local updates_indicator = wibox.widget{ { widget = awful.widget.watch('bash -c "checkupdates | wc -l"', 360), }, - top = 4, bottom = 4, left = 10, right = 10, + top = 4, bottom = 4, left = 0, right = 0, widget = wibox.container.margin }, - wibox.widget.textbox(' Updates '), + wibox.widget.textbox(' Updates'), }, widget = wibox.container.background } @@ -67,24 +67,24 @@ top_panel.create = function(s) { layout = wibox.layout.fixed.horizontal, wibox.layout.margin(wibox.widget.systray(), dpi(5), dpi(5), dpi(5), dpi(5)), - wibox.widget.textbox(' | '), + wibox.widget.textbox(' | '), updates_indicator, wibox.widget.textbox(' | '), lain.widget.mem({ settings = function() - widget:set_markup(lain.util.markup.font(theme.font, " " .. mem_now.used .. " MB ")) + widget:set_markup(lain.util.markup.font(theme.font, mem_now.used .. " MB")) end, }), wibox.widget.textbox(' | '), lain.widget.cpu({ settings = function() - widget:set_markup(lain.util.markup.font(theme.font, " CPU: " .. cpu_now.usage .. "% ")) + widget:set_markup(lain.util.markup.font(theme.font, "CPU: " .. cpu_now.usage .. "%")) end, }), wibox.widget.textbox(' | '), awful.widget.watch('bash -c "/usr/bin/cat /proc/cpuinfo | grep MHz | cut -b 12- | sort -r | head -n 1 | xargs printf \'%f / 1000\n\' | bc -l | cut -b -4"', 1), wibox.widget.textbox('GHz | '), - awful.widget.watch('bash -c "sensors | grep Tctl | cut -f 10 -d \' \' | cut -c 2-"', 5), + awful.widget.watch('bash -c "sensors | grep Package | cut -f 5 -d \' \' | cut -c 2-"', 5), wibox.widget.textbox(' | '), awful.widget.watch('bash -c "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"', 5), wibox.widget.textbox(' | '),