diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2021-07-20 11:24:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 11:24:27 -0400 |
commit | ac742a67e81d3d817643505b0ea99fdf035a35af (patch) | |
tree | 37a1aa980dd237207a8fb6e8028f184febca338e | |
parent | a808ead3c74d57a7ccdb7f9e55cfa10a136d488c (diff) | |
parent | deeae5945f6c16e49eb871ee06c909f546edef75 (diff) |
Merge pull request #285 from cobacdavid/gcw_address_change
[github-contributions] requests api address change
-rw-r--r-- | github-contributions-widget/github-contributions-widget.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/github-contributions-widget/github-contributions-widget.lua b/github-contributions-widget/github-contributions-widget.lua index aecc966..1d135a0 100644 --- a/github-contributions-widget/github-contributions-widget.lua +++ b/github-contributions-widget/github-contributions-widget.lua @@ -13,7 +13,7 @@ local naughty = require("naughty") local wibox = require("wibox") local widget_themes = require("awesome-wm-widgets.github-contributions-widget.themes") -local GET_CONTRIBUTIONS_CMD = [[bash -c "curl -s https://github-contributions.now.sh/api/v1/%s]] +local GET_CONTRIBUTIONS_CMD = [[bash -c "curl -s https://github-contributions.vercel.app/api/v1/%s]] .. [[ | jq -r '[.contributions[] ]] .. [[ | select ( .date | strptime(\"%%Y-%%m-%%d\") | mktime < now)][:%s]| .[].intensity'"]] |