diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-05-10 19:49:57 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-05-10 19:49:57 +0100 |
commit | ccb081f4f40f71e5db09be082e69af9e25e84e41 (patch) | |
tree | 629268600e4eaad968886fc29f6dc012a68a210d /.config/eww/eww.yuck | |
parent | fb3afe0023747f7f7f8f85dfa0a38baf61cbfb71 (diff) |
Updates for using eww as the bar for sway
Diffstat (limited to '.config/eww/eww.yuck')
-rw-r--r-- | .config/eww/eww.yuck | 10 |
1 files changed, 5 insertions, 5 deletions
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") |