diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 12:27:28 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 12:27:28 +0200 |
| commit | 5013893b4cbb63277b2a4c92a0dc8b851816aa93 (patch) | |
| tree | a0cd680dccee25b41e9f3b6a51c5ba284b7d7669 /dashboard.lua | |
| parent | d9c68ef7a62b45527cfb87d61e51866c5e2931a3 (diff) | |
| download | conky-theme-udt-5013893b4cbb63277b2a4c92a0dc8b851816aa93.tar.gz conky-theme-udt-5013893b4cbb63277b2a4c92a0dc8b851816aa93.zip | |
feat: add the disks and cache cards
disks draws a ring per filesystem from the df sample, with the NFS
server address read from the device field and a labelled-bar fallback
when the rings would be too small to read. cache shows the ~/.cache
total and its four largest children from the du sample.
card.ring now resets the cairo path first: a preceding card.text()
leaves a current point, and cairo_arc() joins to it with a straight
line, so the disks rings were drawn with stray chords. The ring
primitive had no caller until now, which is why it went unnoticed.
Diffstat (limited to 'dashboard.lua')
| -rw-r--r-- | dashboard.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard.lua b/dashboard.lua index cbfdd68..9b527ce 100644 --- a/dashboard.lua +++ b/dashboard.lua @@ -24,6 +24,8 @@ local layout = { { widget = 'weather', col = 1, row = 6, w = 3, h = 5 }, { widget = 'system', col = 4, row = 1, w = 3, h = 6 }, { widget = 'gpu', col = 7, row = 1, w = 3, h = 3 }, + { widget = 'disks', col = 7, row = 4, w = 5, h = 4 }, + { widget = 'cache', col = 12, row = 4, w = 3, h = 4 }, } -- ========================================================================== |
