Commit 0d91a6e
committed
Add vicious.change_timer: a helper to change the timeout
This is useful in case you want to change the timeout value for a
registered widget, e.g. from the format callback function.
I am using this to have a shorter timeout interval for the temperature
widget when its value is above some threshold.
Signed-off-by: Daniel Hahler <[email protected]>1 parent 979cc46 commit 0d91a6e
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
290 | 301 | | |
291 | 302 | | |
292 | 303 | | |
0 commit comments