Adjust spacing
This commit is contained in:
parent
e88823c6f6
commit
d4335aa52f
|
@ -41,10 +41,10 @@ local updates_indicator = wibox.widget{
|
||||||
{
|
{
|
||||||
widget = awful.widget.watch('bash -c "checkupdates | wc -l"', 360),
|
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
|
widget = wibox.container.margin
|
||||||
},
|
},
|
||||||
wibox.widget.textbox(' Updates '),
|
wibox.widget.textbox(' Updates'),
|
||||||
},
|
},
|
||||||
widget = wibox.container.background
|
widget = wibox.container.background
|
||||||
}
|
}
|
||||||
|
@ -67,24 +67,24 @@ top_panel.create = function(s)
|
||||||
{
|
{
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
wibox.layout.margin(wibox.widget.systray(), dpi(5), dpi(5), dpi(5), dpi(5)),
|
wibox.layout.margin(wibox.widget.systray(), dpi(5), dpi(5), dpi(5), dpi(5)),
|
||||||
wibox.widget.textbox(' | '),
|
wibox.widget.textbox(' | '),
|
||||||
updates_indicator,
|
updates_indicator,
|
||||||
wibox.widget.textbox(' | '),
|
wibox.widget.textbox(' | '),
|
||||||
lain.widget.mem({
|
lain.widget.mem({
|
||||||
settings = function()
|
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,
|
end,
|
||||||
}),
|
}),
|
||||||
wibox.widget.textbox(' | '),
|
wibox.widget.textbox(' | '),
|
||||||
lain.widget.cpu({
|
lain.widget.cpu({
|
||||||
settings = function()
|
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,
|
end,
|
||||||
}),
|
}),
|
||||||
wibox.widget.textbox(' | '),
|
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),
|
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 | '),
|
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(' | '),
|
wibox.widget.textbox(' | '),
|
||||||
awful.widget.watch('bash -c "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"', 5),
|
awful.widget.watch('bash -c "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"', 5),
|
||||||
wibox.widget.textbox(' | '),
|
wibox.widget.textbox(' | '),
|
||||||
|
|
Loading…
Reference in New Issue