From deeae5945f6c16e49eb871ee06c909f546edef75 Mon Sep 17 00:00:00 2001 From: cobacdavid Date: Tue, 20 Jul 2021 14:07:33 +0200 Subject: [github-contributions] requests api address change --- github-contributions-widget/github-contributions-widget.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'github-contributions-widget') 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'"]] -- cgit v1.2.3