eww desktop

This commit is contained in:
Joshua Perry 2023-07-07 23:01:34 +00:00
parent 8fbcf19e96
commit d28a7d1042
2 changed files with 21 additions and 0 deletions

View File

@ -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")

View File

@ -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")))