From 77f84a7deb26fce5de1d8a44d12bbb1be0a7f252 Mon Sep 17 00:00:00 2001 From: Bart Verhagen Date: Mon, 26 Oct 2020 08:39:52 +0100 Subject: [PATCH] New: Usr: Improved Gitlab plugin to only show the open merge requests --- gitlab-widget/gitlab.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab-widget/gitlab.lua b/gitlab-widget/gitlab.lua index d7a8e35..7a70113 100644 --- a/gitlab-widget/gitlab.lua +++ b/gitlab-widget/gitlab.lua @@ -20,7 +20,7 @@ local gfs = require("gears.filesystem") local HOME_DIR = os.getenv("HOME") local WIDGET_DIR = HOME_DIR .. '/.config/awesome/awesome-wm-widgets/gitlab-widget/' -local GET_PRS_CMD= [[bash -c "curl -s --show-error --header 'PRIVATE-TOKEN: %s' '%s/api/v4/merge_requests'"]] +local GET_PRS_CMD= [[bash -c "curl -s --show-error --header 'PRIVATE-TOKEN: %s' '%s/api/v4/merge_requests?state=opened'"]] local DOWNLOAD_AVATAR_CMD = [[bash -c "curl -L -n --create-dirs -o %s/.cache/awmw/gitlab-widget/avatars/%s %s"]] local gitlab_widget = wibox.widget {