summaryrefslogtreecommitdiff
path: root/gitlab-widget
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab-widget')
-rw-r--r--gitlab-widget/gitlab.lua2
1 files changed, 1 insertions, 1 deletions
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 {