diff options
author | Bart Verhagen <bart@verhagenconsultancy.be> | 2020-10-26 08:39:52 +0100 |
---|---|---|
committer | Bart Verhagen <bart@verhagenconsultancy.be> | 2020-10-26 08:39:52 +0100 |
commit | 77f84a7deb26fce5de1d8a44d12bbb1be0a7f252 (patch) | |
tree | 4d1cbe626e29635d210a102a5ea48f8cd70d756b /gitlab-widget | |
parent | 5398b827c2ff6ccc2f080db547faf8b88bae391e (diff) |
New: Usr: Improved Gitlab plugin to only show the open merge requests
Diffstat (limited to 'gitlab-widget')
-rw-r--r-- | gitlab-widget/gitlab.lua | 2 |
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 { |