You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[breaking change: fixlcpz#550] moves away from global variables
- going forward, there are a couple of ways to access state from
the settings callbacks
- `settings` functions should always take in `widget` and `now` as the
arguments. so the signature is `settings = function(widget, now)`
- use `foo.widget` and `foo.now` to access the awesome widget and
current state (respectively) of `foo` widget
- weather has been done in lcpz#549
- sysload's state is now in a `now` table. access the 1, 5 and 15 min
load averages via `now[1]`, `now[5]`, and `now[15]`
- the bat and contrib/tp_smapi widgets have NOT been migrated as i do
not have a laptop to verify behaviors
0 commit comments