[jira] move error marker to the top right corner

This commit is contained in:
streetturtle 2021-01-03 20:11:19 -05:00
parent a04a68ff9f
commit 043c2b9466
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ local jira_widget = wibox.widget {
},
{
id = 'd',
draw = function(_, _, cr, _, height)
draw = function(_, _, cr, width, height)
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()
end,
visible = false,