added temp to resource widget
This commit is contained in:
15
eww.yuck
15
eww.yuck
@@ -235,12 +235,25 @@
|
|||||||
(for core in {EWW_CPU.cores}
|
(for core in {EWW_CPU.cores}
|
||||||
(label :tooltip "${core.freq} Mhz" :text "${core.core}: ${core.usage}%")))
|
(label :tooltip "${core.freq} Mhz" :text "${core.core}: ${core.usage}%")))
|
||||||
(box
|
(box
|
||||||
|
:orientation "v"
|
||||||
|
:space-evenly true
|
||||||
|
(temps)
|
||||||
|
(box
|
||||||
:class "monitor"
|
:class "monitor"
|
||||||
(graph
|
(graph
|
||||||
:thickness 2
|
:thickness 2
|
||||||
:time-range "10s"
|
:time-range "10s"
|
||||||
:max 100
|
: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 []
|
(defwidget ram []
|
||||||
|
|||||||
Reference in New Issue
Block a user