diff --git a/.config/eww/widgets/hardware_stats/network-used/network-used-desk.yuck b/.config/eww/widgets/hardware_stats/network-used/network-used-desk.yuck new file mode 100644 index 0000000..710f1f4 --- /dev/null +++ b/.config/eww/widgets/hardware_stats/network-used/network-used-desk.yuck @@ -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") diff --git a/.config/eww/widgets/hardware_stats/temps/temps-desk.yuck b/.config/eww/widgets/hardware_stats/temps/temps-desk.yuck new file mode 100644 index 0000000..c631646 --- /dev/null +++ b/.config/eww/widgets/hardware_stats/temps/temps-desk.yuck @@ -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")))