mpc widget edits

master
mark 2023-08-23 09:16:33 -07:00
parent 90804f75bb
commit c89670f53d
1 changed files with 16 additions and 14 deletions

View File

@ -18,7 +18,7 @@ mpc_widget.artist.forced_width = beautiful.dpi(config.mpc.width)
mpc_widget.volume = wibox.widget.textbox("??")
mpc_widget.volume.valign = "center"
mpc_widget.volume.align = "left"
mpc_widget.volume.font = config.core.font.normal
mpc_widget.volume.font = config.core.font.normal_small
mpc_widget.volume.ellipsize = "end"
mpc_widget.volume.forced_width = beautiful.dpi(10)
@ -67,21 +67,23 @@ mpc_widget.right = wibox.widget {
mpc_widget.widget = wibox.widget {
{
{ -- Right spacer
widget = wibox.widget.separator,
color = beautiful.color.transparent,
forced_width = beautiful.dpi(3)
},
{
mpc_widget.left,
mpc_widget.right,
{ -- Left spacer
widget = wibox.widget.separator,
color = beautiful.color.transparent,
forced_width = beautiful.dpi(3)
forced_num_cols = 2,
forced_num_rows = 1,
homogeneous = false,
vertical_homogenous = true;
horizontal_homogenous = false;
expand = true,
layout = wibox.layout.grid
},
layout = wibox.layout.align.horizontal,
top = 0, bottom = 0,
left = beautiful.dpi(2),
right = beautiful.dpi(2),
layout = wibox.container.margin,
},
layout = wibox.container.background,
}