From 16704f5a71455132c8257cef25a0ec1ea815e726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 29 Aug 2024 13:13:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=EF=B8=8F=20deps(waybar):=20add=20w?= =?UTF-8?q?aybar-updates=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this one also fetches information from the aur --- .../ansible/roles/arch/packages/tasks/modules/base.yml | 1 + .config/waybar/modules/custom-updates.jsonc | 8 ++++---- .config/waybar/style.css | 1 - 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/ansible/roles/arch/packages/tasks/modules/base.yml b/.config/ansible/roles/arch/packages/tasks/modules/base.yml index 39eefc3b..bc25c94e 100644 --- a/.config/ansible/roles/arch/packages/tasks/modules/base.yml +++ b/.config/ansible/roles/arch/packages/tasks/modules/base.yml @@ -128,6 +128,7 @@ - nwg-look - pyprland - wl-clip-persist + - waybar-updates # Hooks - check-broken-packages-pacman-hook-git diff --git a/.config/waybar/modules/custom-updates.jsonc b/.config/waybar/modules/custom-updates.jsonc index 6e99ac37..2b050850 100644 --- a/.config/waybar/modules/custom-updates.jsonc +++ b/.config/waybar/modules/custom-updates.jsonc @@ -3,11 +3,11 @@ "format": "{} {icon}", "return-type": "json", "format-icons": { - "has-updates": "󱍷", - "updated": "󰂪", + "pending-updates": " ", + "updated": " ", }, - "exec-if": "which waybar-module-pacman-updates", - "exec": "waybar-module-pacman-updates", + "exec-if": "which waybar-updates", + "exec": "waybar-updates", "on-click": "pypr toggle topgrade-system", "on-click-right": "pypr toggle topgrade-all", }, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 1eafc203..8c76e84c 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -49,7 +49,6 @@ #network, #tray, #custom-power-menu, -#custom-updates, #language, #window, #custom-weather,