From 42ddeeb509e5f9789a41d386d4bfc2acf56588c9 Mon Sep 17 00:00:00 2001 From: Aurélien LAJOIE Date: Wed, 20 Oct 2021 14:27:00 +0200 Subject: calendar: allow to change first day of week Closes #293 --- calendar-widget/calendar.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar-widget/calendar.lua') diff --git a/calendar-widget/calendar.lua b/calendar-widget/calendar.lua index d62f52b..4bb637f 100644 --- a/calendar-widget/calendar.lua +++ b/calendar-widget/calendar.lua @@ -97,6 +97,7 @@ local function worker(user_args) local radius = args.radius or 8 local next_month_button = args.next_month_button or 4 local previous_month_button = args.previous_month_button or 5 + local start_sunday = args.start_sunday or false local styles = {} local function rounded_shape(size) @@ -184,6 +185,7 @@ local function worker(user_args) font = beautiful.get_font(), fn_embed = decorate_cell, long_weekdays = true, + start_sunday = start_sunday, widget = wibox.widget.calendar.month } -- cgit v1.2.3