Adjust spacing

This commit is contained in:
Thomas Avé 2022-07-21 16:08:57 +02:00
parent e88823c6f6
commit d4335aa52f
1 changed files with 6 additions and 6 deletions

View File

@ -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(' | '),