From f64b88eb681445295efce37583fc84b4c8f696fb Mon Sep 17 00:00:00 2001 From: mrwafflecats Date: Sat, 6 Jun 2026 14:08:35 -0500 Subject: [PATCH] added temp to resource widget --- eww.yuck | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/eww.yuck b/eww.yuck index b6377f8..01d0def 100644 --- a/eww.yuck +++ b/eww.yuck @@ -235,12 +235,25 @@ (for core in {EWW_CPU.cores} (label :tooltip "${core.freq} Mhz" :text "${core.core}: ${core.usage}%"))) (box + :orientation "v" + :space-evenly true + (temps) + (box :class "monitor" (graph :thickness 2 :time-range "10s" :max 100 - :value {round(EWW_CPU.avg,1)})) + :value {round(EWW_CPU.avg,1)}))) +)) + +(defwidget temps [] + (box + :class "monitor" + :orientation "v" + :space-evenly true + (label :text "cpu temp: ${EWW_TEMPS.K10TEMP_TCTL} C") + (label :text "gpu temp: ${EWW_TEMPS.AMDGPU_JUNCTION} C") )) (defwidget ram []