Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Barlow 463c1eea03 standardise interface to metrics
call as follows:

(let [m  (metricname.new)]
  (m:read)
  (m:read)
   ...
   )
2022-04-26 21:25:43 +01:00
Daniel Barlow 4c63c0338d smarter poll timeout interval
use highest common factor of requested intervals. this will still
suck if we have e.g. intervals of 333 and 1000, we could probably
refine it a bit. no interval over 3s cares about millisecond precision
2022-04-26 21:25:42 +01:00
Daniel Barlow 4e53d1673c sync TODO 2022-04-26 21:25:41 +01:00
Daniel Barlow 26f0f46c71 README: delete outdated example 2022-04-26 21:25:41 +01:00
Daniel Barlow ba54bd7e41 extract "system info" functions into new metric.fnl module 2022-04-26 21:25:41 +01:00
Daniel Barlow e198e8aae5 note about icon fonts 2022-04-26 21:25:41 +01:00
Daniel Barlow fcd5aee103 support user stylesheet and customisable css class names 2022-04-26 21:25:41 +01:00
Daniel Barlow c687b4d3b8 fix markdown syntax 2022-04-26 21:25:41 +01:00
Daniel Barlow a76d10e0da add some notes to readme 2022-04-26 21:25:41 +01:00
Daniel Barlow 48ffaa7695 cache scaled icons after loading 2022-04-26 21:25:41 +01:00
Daniel Barlow b0fe8e1dff update only when interval requires it 2022-04-26 21:25:41 +01:00
Daniel Barlow 10154115bf add layer-shell, todo list 2022-04-26 21:25:40 +01:00
Daniel Barlow 498c7f8f61 initial checkin 2022-04-26 21:25:40 +01:00