Commit graph

4 commits

Author SHA1 Message Date
Tobias Witek
621564d247 [core] Switch update interval parameter to seconds
As correctly pointed out by @rrhuffy, restricting update intervals to
minutes is pretty arbitrary. Therefore, change logic to specify updates
intervals in *seconds*.

Also, to maintain backwards compatibility for users that already have
custom intervals in their config, allow a module to specify their own
"factor" for intervals. So a module that expects the interval to be in
minutes can set the factor to 60.
2019-10-29 20:20:19 +01:00
Tobias Witek
210075fdf9 [modules/apt] Show error if unable to query APT
If querying APT fails for some reason, show an error message and set the
state of the widget to critical.

fixes #395
2019-06-06 20:14:16 +02:00
Tobias Witek
01883c1284 [modules] Fix two minor Travis complaints 2019-04-15 20:32:21 +02:00
Piotr Piórkowski
1860b7abb3
[modules/apt] Add APT update checking module 2019-01-07 20:56:13 +01:00