[gitlab] move error marker to the top right corner
This commit is contained in:
parent
eb742ed9d4
commit
a04a68ff9f
|
@ -35,9 +35,9 @@ local gitlab_widget = wibox.widget {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id = 'error_marker',
|
id = 'error_marker',
|
||||||
draw = function(_, _, cr, _, height)
|
draw = function(_, _, cr, width, height)
|
||||||
cr:set_source(color(beautiful.fg_urgent))
|
cr:set_source(color(beautiful.fg_urgent))
|
||||||
cr:arc(height/4, height/4, height/4, 0, math.pi*2)
|
cr:arc(width - height/6, height/6, height/6, 0, math.pi*2)
|
||||||
cr:fill()
|
cr:fill()
|
||||||
end,
|
end,
|
||||||
visible = false,
|
visible = false,
|
||||||
|
|
Loading…
Reference in New Issue