diff options
author | Aurélien LAJOIE <orel@melix.net> | 2021-10-20 14:27:00 +0200 |
---|---|---|
committer | Aurélien LAJOIE <orel@melix.net> | 2021-11-20 16:10:29 +0100 |
commit | 42ddeeb509e5f9789a41d386d4bfc2acf56588c9 (patch) | |
tree | b896e69e15539c3cfda556b70cb3a5fffcdb068e /calendar-widget/README.md | |
parent | 3d611c0531fa37ce982269a3d09035424a5a9408 (diff) |
calendar: allow to change first day of week
Closes #293
Diffstat (limited to 'calendar-widget/README.md')
-rw-r--r-- | calendar-widget/README.md | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/calendar-widget/README.md b/calendar-widget/README.md index 0c2b940..e354c07 100644 --- a/calendar-widget/README.md +++ b/calendar-widget/README.md @@ -12,6 +12,7 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget. | theme | `naughty` | The theme to use | | placement | `top` | The position of the popup | | radius | 8 | The popup radius | +| start_sunday | false | Start the week on Sunday | - themes: @@ -37,6 +38,10 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget. ![calendar_bottom_right](./calendar_bottom_right.png) + - setup first day of week + + By setting `start_sunday` to true: + ![calendar_start_sunday](./calendar_start_sunday.png) - mouse support: move to the next and previous month. Using mouse buttons or scroll wheel. @@ -44,13 +49,13 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget. You can configure this by specifying the button to move to next/previous. Usually these are configured as follows. If you want to use other mouse buttons, you can find their number using `xev`. - | number | button | - |--------|--------| - | 4 | scroll up | - | 5 | scroll down | - | 1 | left click | - | 2 | right click | - | 3 | middles click | + | number | button | + |--------|---------------| + | 4 | scroll up | + | 5 | scroll down | + | 1 | left click | + | 2 | right click | + | 3 | middles click | By default `previous_month_button` is 5, `next_month_button` is 4. @@ -71,6 +76,7 @@ local cw = calendar_widget() local cw = calendar_widget({ theme = 'outrun', placement = 'bottom_right', + start_sunday = true, radius = 8, -- with customized next/previous (see table above) previous_month_button = 1, |