From 6e04cc74d642b60d4903ea4273547800ba2d64ae Mon Sep 17 00:00:00 2001 From: "Matthieu Fortin (CPC/CCP)" Date: Mon, 16 Dec 2024 13:27:48 -0500 Subject: [PATCH] does it work? maybe. will I check? no. --- hypr/.config/waybar/config.jsonc | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/hypr/.config/waybar/config.jsonc b/hypr/.config/waybar/config.jsonc index 3ed1fb1..cc0f974 100644 --- a/hypr/.config/waybar/config.jsonc +++ b/hypr/.config/waybar/config.jsonc @@ -37,17 +37,23 @@ }, "custom/updates": { - "format": "{} {icon}", - "return-type": "json", - "format-icons": { - "has-updates": "󱍷", - "updated": "󰂪", - "updated": "󰂪", - "interval": 3600, - }, - "exec-if": "which waybar-module-pacman-updates", - "exec": "waybar-module-pacman-updates", - "on-click": "kitty --class update paru" + "format": "{} ", + "interval": 3600, + "exec": "checkupdates | wc -l", + "exec-if": "exit 0", + "on-click": "kitty --class update paru; pkill -SIGRTMIN+8 waybar", + "signal": 8 +// "format": "{} {icon}", +// "return-type": "json", +// "format-icons": { +// "has-updates": "󱍷", +// "updated": "󰂪", +// "updated": "󰂪", +// "interval": 3600, +// }, +// "exec-if": "which waybar-module-pacman-updates", +// "exec": "waybar-module-pacman-updates", +// "on-click": "kitty --class update paru" }, "hyprland/workspaces": {