diff options
author | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-12-16 16:43:39 -0500 |
---|---|---|
committer | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-12-16 16:43:39 -0500 |
commit | 2a1fb6011857f12d3bfc4a67b73f427f047a788f (patch) | |
tree | 6eda42f43ef734b0531944b5873e1411304c4602 /calendar-widget | |
parent | 02d435bf19f3476a441f9587a0bef156390ca3c5 (diff) |
remove triple curly brackets which brakes the site
Diffstat (limited to 'calendar-widget')
-rw-r--r-- | calendar-widget/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar-widget/README.md b/calendar-widget/README.md index 283fedf..9cfaf30 100644 --- a/calendar-widget/README.md +++ b/calendar-widget/README.md @@ -29,18 +29,18 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget. ## How to use -This widget needs an 'anchor' - another widget which triggers visibility of the calendar. Default `mytextclock` is the perfect candidate! +This widget needs an 'anchor' - another widget which triggers visibility of the calendar. Default `mytextclock` is the perfect candidate! +Just after mytextclock is instantiated, create the widget and add the mouse listener to it. ```lua local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar") -- ... --- {{{ Wibar -- Create a textclock widget mytextclock = wibox.widget.textclock() -- default -cw = calendar_widget() +local cw = calendar_widget() -- or customized -cw = calendar_widget({ +local cw = calendar_widget({ theme = 'outrun', placement = 'bottom_right' }) |