From 52e41555b4413b12a61c77febbf84d9f18d6991e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 20 Jun 2024 17:02:53 +0200 Subject: eww: Update the way I handle wireless networks --- .config/eww/eww.yuck | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.config/eww/eww.yuck') diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index e599a52..08ac9c5 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -35,7 +35,7 @@ (defpoll battery :initial '{"icon":"","percentage":""}' :interval "1s" `scripts/battery`) -(defpoll wireless :interval "1s" +(defpoll wireless :initial '{"icon":"","ssid":""}' :interval "1s" `scripts/wireless`) ;; Windows @@ -97,11 +97,12 @@ :hexpand false :space-evenly false :width 30 - (label :text "") + ; (label :text "") + (label :text {wireless.icon}) (revealer :transition "slideright" :reveal wireless_rev :duration "350ms" - (label :text wireless))))) + (label :text {wireless.ssid}))))) (defwidget keymap [] (eventbox -- cgit v1.2.3