mpc widget edits
parent
90804f75bb
commit
c89670f53d
|
@ -18,7 +18,7 @@ mpc_widget.artist.forced_width = beautiful.dpi(config.mpc.width)
|
||||||
mpc_widget.volume = wibox.widget.textbox("??")
|
mpc_widget.volume = wibox.widget.textbox("??")
|
||||||
mpc_widget.volume.valign = "center"
|
mpc_widget.volume.valign = "center"
|
||||||
mpc_widget.volume.align = "left"
|
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.ellipsize = "end"
|
||||||
mpc_widget.volume.forced_width = beautiful.dpi(10)
|
mpc_widget.volume.forced_width = beautiful.dpi(10)
|
||||||
|
|
||||||
|
@ -67,21 +67,23 @@ mpc_widget.right = wibox.widget {
|
||||||
|
|
||||||
mpc_widget.widget = wibox.widget {
|
mpc_widget.widget = wibox.widget {
|
||||||
{
|
{
|
||||||
{ -- Right spacer
|
{
|
||||||
widget = wibox.widget.separator,
|
mpc_widget.left,
|
||||||
color = beautiful.color.transparent,
|
mpc_widget.right,
|
||||||
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
|
||||||
},
|
},
|
||||||
|
|
||||||
mpc_widget.left,
|
top = 0, bottom = 0,
|
||||||
mpc_widget.right,
|
left = beautiful.dpi(2),
|
||||||
|
right = beautiful.dpi(2),
|
||||||
{ -- Left spacer
|
layout = wibox.container.margin,
|
||||||
widget = wibox.widget.separator,
|
|
||||||
color = beautiful.color.transparent,
|
|
||||||
forced_width = beautiful.dpi(3)
|
|
||||||
},
|
|
||||||
layout = wibox.layout.align.horizontal,
|
|
||||||
},
|
},
|
||||||
layout = wibox.container.background,
|
layout = wibox.container.background,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue