dwmblocks/scripts/dwmblocks-mu4e

4 lines
168 B
Plaintext
Raw Normal View History

2023-09-29 03:39:29 -07:00
#!/usr/bin/env zsh
let message_count="$(mu find flag:unread AND maildir:/protonmail/Inbox | wc -l)"
(( "${message_count}" > 0 )) && printf ' %s' "${message_count}"