summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--github-contributions-widget/github-contributions-widget.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/github-contributions-widget/github-contributions-widget.lua b/github-contributions-widget/github-contributions-widget.lua
index 1d135a0..028b547 100644
--- a/github-contributions-widget/github-contributions-widget.lua
+++ b/github-contributions-widget/github-contributions-widget.lua
@@ -78,8 +78,8 @@ local function worker(user_args)
local col = {layout = wibox.layout.fixed.vertical}
local row = {layout = wibox.layout.fixed.horizontal}
- local day_idx = 5 - os.date('%w')
- for _ = 0, day_idx do
+ local day_idx = 6 - os.date('%w')
+ for _ = 1, day_idx do
table.insert(col, get_square(color_of_empty_cells))
end