From ccb081f4f40f71e5db09be082e69af9e25e84e41 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Fri, 10 May 2024 19:49:57 +0100 Subject: Updates for using eww as the bar for sway --- .config/eww/eww.yuck | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.config/eww/eww.yuck') diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index 85c00c8..9d1f4dc 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -92,15 +92,15 @@ (defwidget updates [] (box - :class "${matches(arch-updates, '^\s*$')?'paru-empty':'paru'}" + :class "${matches(void-updates, '^\s*$')?'xbps-empty':'xbps'}" :orientation "h" :space-evenly false :halign "end" :spacing 10 (button :class "" - :onclick "foot bash -c 'paru; ~/.config/eww/scripts/arch-updates.sh Refresh'&" - arch-updates) + :onclick "foot bash -c 'sudo xbps-install -Suv; ~/.config/eww/scripts/void-updates.sh Refresh'&" + void-updates) )) (defwidget scratchpad-indicator [] @@ -169,8 +169,8 @@ (defpoll idle :interval "1s" "scripts/idleinhibit.sh") -(defpoll arch-updates :interval "600s" - "scripts/arch-updates.sh") +(defpoll void-updates :interval "600s" + "scripts/void-updates.sh") (defpoll volume :interval "1s" "scripts/volumecontrol") -- cgit v1.2.3