diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2020-10-26 14:54:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 14:54:29 -0400 |
commit | ddd646dd4ba50838993d897c29d1b6e16ccd1a9d (patch) | |
tree | 4d1cbe626e29635d210a102a5ea48f8cd70d756b /gitlab-widget/gitlab.lua | |
parent | 5398b827c2ff6ccc2f080db547faf8b88bae391e (diff) | |
parent | 77f84a7deb26fce5de1d8a44d12bbb1be0a7f252 (diff) |
Merge pull request #196 from bverhagen/master
New: Usr: Improved Gitlab plugin to only show the open merge requests
Diffstat (limited to 'gitlab-widget/gitlab.lua')
-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 { |