github-contributions-widget: fix line too long warning

This commit is contained in:
Nuno Silva 2021-04-11 20:31:27 +01:00
parent be6d28ec6d
commit 8cc7b6dbfe
1 changed files with 2 additions and 1 deletions

View File

@ -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 = {