Commit Graph

18 Commits (1887b72d1c41a40a7c17e1cf42b0e31d9591ae5e)

Author SHA1 Message Date
Daniel Barlow 1887b72d1c graphical wifi quality display 2022-04-26 21:25:43 +01:00
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 e4f7e911b8 metric: don't hardcode battery name
bl: red background if battery is low
2022-04-26 21:25:43 +01:00
Daniel Barlow 3d5d1078c2 tidy the example layout 2022-04-26 21:25:43 +01:00
Daniel Barlow 8d8c65e5b3 add "gravity" option for bar
A bar must be full-screen-width (or height, for vertical bars) to
have an "exclusive zone", otherwise it appears on top of other windows
instead of moving them out of the way. To right-justify (or bottom-
justify) the indicators in a bar, add :gravity :end to its options

Am *probably* going to get rid of this again, in favour of adding
support for "spacers" in the bar - then the same bar could contain
both left- and right-justified indicators
2022-04-26 21:25:43 +01:00
Daniel Barlow c426bf7893 add indicator for modem status 2022-04-26 21:25:43 +01:00
Daniel Barlow 229ba07b80 add "uplink" indicator
- currently shows ssid and signal strength, if wlan
- for lan, should show interface name (not tested)

plan to enhance with
- lan speed, for wired ethernet
- wwan support
2022-04-26 21:25:42 +01:00
Daniel Barlow a3584f21e0 change the charging icon 2022-04-26 21:25:42 +01:00
Daniel Barlow e20e2d335f smooth the disk light a bit 2022-04-26 21:25:42 +01:00
Daniel Barlow 3c8051a84e extract non-blocking unix file input into iostream module 2022-04-26 21:25:42 +01:00
Daniel Barlow 448a0317fb indicator for disk io: less than perfect, better than nothing 2022-04-26 21:25:42 +01:00
Daniel Barlow c587817907 rework updates to allow file input readiness as well as timers 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 fcd5aee103 support user stylesheet and customisable css class names 2022-04-26 21:25:41 +01:00
Daniel Barlow 7f1eddafce print date without seconds 2022-04-26 21:25:41 +01:00
Daniel Barlow 8abdffdbec add icons for battery status 2022-04-26 21:25:41 +01:00
Daniel Barlow b84a8f5758 add battery status indicator 2022-04-26 21:25:41 +01:00
Daniel Barlow 498c7f8f61 initial checkin 2022-04-26 21:25:40 +01:00