(include "widgets/hardware_stats/ram-used/ram-used.yuck")
(include "widgets/hardware_stats/disk-used/disk-used.yuck")
(include "widgets/hardware_stats//temps/temps.yuck")
(include "widgets/hardware_stats/network-used/network-used.yuck")

(defwidget hardware_tab [desktop]
  (revealer
    :reveal hardware_reveal
    :transition "slideleft"
    :duration "500ms"
  (box :class "hardware_tab" :orientation "v"
    (box :orientation "h"
      (ram_used)
      (disk_used))
    (box :orientation "h"
      (temps :desktop desktop))
    (network_used :desktop desktop))))

(defwidget hardware_tab_laptop []
  (revealer
    :reveal hardware_reveal
    :transition "slideleft"
    :duration "500ms"
  (box :class "hardware_tab" :orientation "v"
    (box :orientation "h"
      (ram_used)
      (disk_used))
    (box :orientation "h"
	(battery)
      (temps :desktop false))
    (network_used :desktop false))))

(defvar hardware_reveal false)
