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 []