We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9ecb9f commit 043e503Copy full SHA for 043e503
README.md
@@ -125,10 +125,12 @@ enable caching of values returned by a widget type
125
**Force update of widgets:**
126
127
```Lua
128
- vicious.force({ widget, })
+ vicious.force(widget)
129
+ vicious.force({ widget1, widget2 })
130
```
131
-widget argument is a table with one or more widgets that will be updated
132
+widget argument is a single widget or a table with one or more widgets that
133
+will be updated
134
135
136
Widget types
init.lua
@@ -234,6 +234,8 @@ function vicious.force(wtable)
234
for _, w in pairs(wtable) do
235
update(w, nil, true)
236
end
237
+ else
238
+ update(wtable, nil, true)
239
240
241
-- }}}
0 commit comments