summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>2021-04-11 20:31:27 +0100
committerNuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>2021-04-11 20:31:27 +0100
commit8cc7b6dbfe8eeb07a0bdf70598219036ead33614 (patch)
tree7fa25b0213d80205ffc5c0a5b3bfbce8211df6a6
parentbe6d28ec6dee82f431f67e02a2f21fbd2333c2d5 (diff)
github-contributions-widget: fix line too long warning
-rw-r--r--github-contributions-widget/github-contributions-widget.lua3
1 files changed, 2 insertions, 1 deletions
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 = {