From 8cc7b6dbfe8eeb07a0bdf70598219036ead33614 Mon Sep 17 00:00:00 2001 From: Nuno Silva Date: Sun, 11 Apr 2021 20:31:27 +0100 Subject: github-contributions-widget: fix line too long warning --- github-contributions-widget/github-contributions-widget.lua | 3 ++- 1 file changed, 2 insertions(+), 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 cae8ed6..aecc966 100644 --- a/github-contributions-widget/github-contributions-widget.lua +++ b/github-contributions-widget/github-contributions-widget.lua @@ -14,7 +14,8 @@ 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]] - .. [[ | jq -r '[.contributions[] | select ( .date | strptime(\"%%Y-%%m-%%d\") | mktime < now)][:%s]| .[].intensity'"]] + .. [[ | jq -r '[.contributions[] ]] + .. [[ | select ( .date | strptime(\"%%Y-%%m-%%d\") | mktime < now)][:%s]| .[].intensity'"]] local github_contributions_widget = wibox.widget{ reflection = { -- cgit v1.2.3