(defwidget network_used []
  (box :orientation "h"
    (box :class "hardware_text"
      (image
        :path net_up_icon
        :image-width 16)
      "${EWW_NET["wlan0"].NET_UP / 1000} kB/s")
    (box :class "hardware_text"
      (image
        :path net_down_icon
        :image-width 16)
      "${EWW_NET["wlan0"].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")
