aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/waybar/executable_mako-status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/waybar/executable_mako-status.sh')
-rw-r--r--dot_config/waybar/executable_mako-status.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dot_config/waybar/executable_mako-status.sh b/dot_config/waybar/executable_mako-status.sh
index c97f9f8..c0a4edd 100644
--- a/dot_config/waybar/executable_mako-status.sh
+++ b/dot_config/waybar/executable_mako-status.sh
@@ -8,8 +8,8 @@ if ! command -v makoctl >/dev/null 2>&1; then
exit 0
fi
-count=$(makoctl history --format '%i' 2>/dev/null | grep -c . || true)
-pending=$(makoctl list --format '%i' 2>/dev/null | grep -c . || true)
+count=$(makoctl history 2>/dev/null | grep -c '^Notification ' || true)
+pending=$(makoctl list 2>/dev/null | grep -c '^Notification ' || true)
if [ "$pending" -gt 0 ]; then
text="NTF !$pending"