diff options
| -rwxr-xr-x | xmonad/scripts/xmobar-mail.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmonad/scripts/xmobar-mail.sh b/xmonad/scripts/xmobar-mail.sh index 259e81b7..5f317053 100755 --- a/xmonad/scripts/xmobar-mail.sh +++ b/xmonad/scripts/xmobar-mail.sh @@ -2,7 +2,7 @@ set -eu while true; do - printf "mail: %s/%s - %s\n" "$(notmuch count tag:unread AND NOT tag:lists AND NOT tag:killed)" "$(notmuch count tag:inbox AND NOT tag:lists AND NOT tag:killed)" "$(msmtp-queue -d | grep -c '^From')" + printf "mail: %s/%s - %s\n" "$(notmuch count tag:unread AND \(tag:to-me OR to:nubank.com.br OR to:euandre.org\) AND NOT tag:killed AND NOT tag:archive)" "$(notmuch count tag:inbox AND \(tag:to-me OR to:nubank.com.br OR to:euandre.org\) AND NOT tag:killed AND NOT tag:archive)" "$(msmtp-queue -d | grep -c '^From')" if acpi -a | grep -q off-line; then sleep $((60 * 15)) else |
