From 1aec8005226708598916d0ebdfac6568c18bb836 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 18 Oct 2025 19:21:33 -0400 Subject: eww display weather --- .config/eww/widgets.yuck | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to '.config/eww/widgets.yuck') 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" -- cgit v1.2.3