From 2a1fb6011857f12d3bfc4a67b73f427f047a788f Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Mon, 16 Dec 2019 16:43:39 -0500 Subject: remove triple curly brackets which brakes the site --- calendar-widget/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar-widget') 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' }) -- cgit v1.2.3