eww desktop
This commit is contained in:
parent
8fbcf19e96
commit
d28a7d1042
|
|
@ -0,0 +1,15 @@
|
|||
(defwidget network_used []
|
||||
(box :orientation "h"
|
||||
(box :class "hardware_text"
|
||||
(image
|
||||
:path net_up_icon
|
||||
:image-width 16)
|
||||
"${EWW_NET["enp4s0"].NET_UP / 1000} kB/s")
|
||||
(box :class "hardware_text"
|
||||
(image
|
||||
:path net_down_icon
|
||||
:image-width 16)
|
||||
"${EWW_NET["enp4s0"].NET_DOWN / 1000 } kB/s")))
|
||||
|
||||
(defvar net_up_icon "widgets/hardware_stats/network-used/up-icon.png")
|
||||
(defvar net_down_icon "widgets/hardware_stats/network-used/down-icon.png")
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(defwidget temps []
|
||||
(box :orientation "h"
|
||||
(box :class "hardware_text"
|
||||
"Proccessor: ${EWW_TEMPS.K10TEMP_TCTL}°C")
|
||||
(box :class "hardware_text"
|
||||
"Storage: ${EWW_TEMPS.NVME_COMPOSITE_WD_BLUE_SN570_1TB_TEMP1}°C")))
|
||||
Loading…
Reference in New Issue