Change eww to sb

This commit is contained in:
2025-11-28 17:05:55 -08:00
parent 2990b54902
commit e222fc8f33
6 changed files with 0 additions and 0 deletions

11
status-bar/sb-mu4e-messages Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env zsh
let greather_than_zero=0
if [[ "${1}" == '-g' ]]; then
greather_than_zero=1
fi
lines=(${(f)"$(mu find '(maildir:/protonmail/Inbox or maildir:/ucsc-gmail/Inbox) AND flag:unread' 2>/dev/null)"})
if [[ ${#lines} > 0 ]] || ! (( greather_than_zero )); then
printf '%d' "${#lines}"
fi