minor fixes

This commit is contained in:
Nuno Silva 2021-04-15 21:29:19 +01:00
parent 7ea3eec179
commit 2d13d01203
2 changed files with 4 additions and 4 deletions

View File

@ -45,8 +45,8 @@ local cw = calendar_widget()
-- or customized
local cw = calendar_widget({
theme = 'outrun',
placement = 'bottom_right'
radius = 8
placement = 'bottom_right',
radius = 8,
})
mytextclock:connect_signal("button::press",
function(_, _, _, button)

View File

@ -30,7 +30,7 @@ s.mytasklist, -- Middle widget
volume_widget(),
-- customized
volume_widget{
type = 'arc'
widget_type = 'arc'
},
```
@ -52,7 +52,7 @@ It is possible to customize the widget by providing a table with all or some of
| Name | Default | Description |
|---|---|---|
| `type`| `icon_and_text`| Widget type, one of `horizontal_bar`, `vertical_bar`, `icon`, `icon_and_text`, `arc` |
| `widget_type`| `icon_and_text`| Widget type, one of `horizontal_bar`, `vertical_bar`, `icon`, `icon_and_text`, `arc` |
Depending on the chosen widget type add parameters from the corresponding section below: