remove triple curly brackets which brakes the site
This commit is contained in:
parent
02d435bf19
commit
2a1fb60118
|
@ -29,18 +29,18 @@ Calendar widget for Awesome WM - slightly improved version of the `wibox.widget.
|
||||||
|
|
||||||
## How to use
|
## 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
|
```lua
|
||||||
local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar")
|
local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar")
|
||||||
-- ...
|
-- ...
|
||||||
-- {{{ Wibar
|
|
||||||
-- Create a textclock widget
|
-- Create a textclock widget
|
||||||
mytextclock = wibox.widget.textclock()
|
mytextclock = wibox.widget.textclock()
|
||||||
-- default
|
-- default
|
||||||
cw = calendar_widget()
|
local cw = calendar_widget()
|
||||||
-- or customized
|
-- or customized
|
||||||
cw = calendar_widget({
|
local cw = calendar_widget({
|
||||||
theme = 'outrun',
|
theme = 'outrun',
|
||||||
placement = 'bottom_right'
|
placement = 'bottom_right'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue