From 9090e57749758689a7fc729eb83f5a515522d043 Mon Sep 17 00:00:00 2001 From: Flinner Date: Sun, 13 Mar 2022 14:29:22 +0300 Subject: [PATCH] feat: polybar mu email counter --- polybar/.config/polybar/forest/user_modules.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polybar/.config/polybar/forest/user_modules.ini b/polybar/.config/polybar/forest/user_modules.ini index 1d07d30..938b1ae 100644 --- a/polybar/.config/polybar/forest/user_modules.ini +++ b/polybar/.config/polybar/forest/user_modules.ini @@ -33,7 +33,7 @@ format-prefix-foreground = ${color.yellow} [module/mu4e] type = custom/script -exec = $(mu find flag:unread 2> /dev/null && wc -l) echo 0 +exec = ( mu find flag:unread 2> /dev/null | wc -l ) || echo 0 interval = 5