summaryrefslogtreecommitdiff
path: root/.config/eww/widgets.yuck
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-10-18 19:21:33 -0400
committerbd <bdunahu@operationnull.com>2025-10-18 19:21:33 -0400
commit1aec8005226708598916d0ebdfac6568c18bb836 (patch)
tree06825396bb9b39ce67e50428550de1b270b854f6 /.config/eww/widgets.yuck
parent1c4a3d2a527cf592b3b7ed645d5dff58eb46e569 (diff)
eww display weather
Diffstat (limited to '.config/eww/widgets.yuck')
-rw-r--r--.config/eww/widgets.yuck19
1 files changed, 13 insertions, 6 deletions
diff --git a/.config/eww/widgets.yuck b/.config/eww/widgets.yuck
index 2459550..363d778 100644
--- a/.config/eww/widgets.yuck
+++ b/.config/eww/widgets.yuck
@@ -13,6 +13,8 @@
:orientation "h"
(cpu-and-mem)
(sep)
+ (weatherwidget)
+ (sep)
(mailwidget)
(sep)
(t1widget)
@@ -23,12 +25,12 @@
:class "time-label"
:halign "end"
:valign "center"
- :tooltip "time")
+ :tooltip "time")
(label :text time
:class "time-label"
:halign "end"
:valign "center"
- :tooltip "time")))
+ :tooltip "time")))
(defwidget cpu-and-mem []
(box :class "cpu-and-mem"
@@ -37,13 +39,13 @@
:valign "center"
:space-evenly "false"
(circular-progress :class "vol"
- :value volume
- :thickness 6)
+ :value volume
+ :thickness 6)
(circular-progress :class "cpu"
- :value {EWW_CPU.avg}
+ :value {EWW_CPU.avg}
:thickness 6)
(circular-progress :class "mem"
- :value {EWW_RAM.used_mem_perc}
+ :value {EWW_RAM.used_mem_perc}
:thickness 6)))
(defwidget batterywidget []
@@ -61,6 +63,11 @@
:class "mail"
:text "${mail}"))
+(defwidget weatherwidget []
+ (label
+ :class "weather"
+ :text "${weather}"))
+
(defwidget iconwidget []
(image
:path "assets/raven.png"