New: Usr: Improved Gitlab plugin to only show the open merge requests
This commit is contained in:
parent
5398b827c2
commit
77f84a7deb
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue