From a04a68ff9f49f237f31e0a4d3c2513f0f9c8618d Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 3 Jan 2021 20:11:00 -0500 Subject: [gitlab] move error marker to the top right corner --- gitlab-widget/gitlab.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gitlab-widget') diff --git a/gitlab-widget/gitlab.lua b/gitlab-widget/gitlab.lua index 5d771b9..c0716d7 100644 --- a/gitlab-widget/gitlab.lua +++ b/gitlab-widget/gitlab.lua @@ -35,9 +35,9 @@ local gitlab_widget = wibox.widget { }, { id = 'error_marker', - 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, -- cgit v1.2.3