Commit Graph

242 Commits (main)

Author SHA1 Message Date
Daniel Barlow c426bf7893 add indicator for modem status 2022-04-26 21:25:43 +01:00
Daniel Barlow 89d629bdda reload stylesheet on change 2022-04-26 21:25:42 +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 da00b8a3a5 make netlink socket private (closed over) 2022-04-26 21:25:42 +01:00
Daniel Barlow 8943c1d652 add wlan quality and ssid 2022-04-26 21:25:42 +01:00
Daniel Barlow 7ae4284dc0 remove debug prints 2022-04-26 21:25:42 +01:00
Daniel Barlow 6b327d1f39 remove unused `find` fn 2022-04-26 21:25:42 +01:00
Daniel Barlow 6c6d7b0d18 remove commented code 2022-04-26 21:25:42 +01:00
Daniel Barlow afd2d5dff0 experimental netlink code 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 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 448a0317fb indicator for disk io: less than perfect, better than nothing 2022-04-26 21:25:42 +01:00
Daniel Barlow 4ba657c98f use eventbox instead of button
Button, somehow, doesn't seem to notice css class changes
after it's rendered. EventBox has less baggage
2022-04-26 21:25:42 +01:00
Daniel Barlow 028d5920a2 add cpu state metric (/proc/state) 2022-04-26 21:25:42 +01:00
Daniel Barlow 7e81c7c5ad delete debug print 2022-04-26 21:25:42 +01:00
Daniel Barlow 4e53d1673c sync TODO 2022-04-26 21:25:41 +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 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 2a004d08df print error message if load-styles fails 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 1fcd4fc933 fix load-icon for abolute paths 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 48ffaa7695 cache scaled icons after loading 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 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 76b919baed remove unneeded stuff in derivation 2022-04-26 21:25:40 +01:00
Daniel Barlow 498c7f8f61 initial checkin 2022-04-26 21:25:40 +01:00
Daniel Barlow b7ab3d1f31 add Fennel support 2022-04-26 21:14:46 +01:00
Daniel Barlow 74a1c01900 add kiwmi as git subtree and derivation to build it 2022-04-26 15:52:14 +01:00
Daniel Barlow 77444ac47c add binding to iterate through outputs 2022-04-26 15:51:29 +01:00
Daniel Barlow a43acd458f add output:set_mode, allows setting width/height of backend window
handy when running under wayland
probably not very useful on a hardware device
2022-04-26 15:51:15 +01:00
Daniel Barlow bbb9d40c69 Merge commit '28156e0c9d098738f56a976ac8fa983bf22cf6b8' as 'kiwmi' 2022-04-26 15:34:04 +01:00
Daniel Barlow 28156e0c9d Squashed 'kiwmi/' content from commit d9f4f51
git-subtree-dir: kiwmi
git-subtree-split: d9f4f519597b0eef004369af917bab3d6b73a9b0
2022-04-26 15:34:04 +01:00
Daniel Barlow c68b4df0a3 initial commit 2022-04-26 15:33:53 +01:00