aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts/email
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-04-15 23:34:35 +0200
committerKarel Kočí <cynerd@email.cz>2024-04-15 23:35:42 +0200
commit4a25d79feef0dd6e462abfb48173da7e470127a5 (patch)
treef669e473abd24a84b2d9e167ec3f61463fb2b3a7 /config/i3blocks/scripts/email
parentdef6ee65cecb646c4cf0e02e9cfd17dd21611f9c (diff)
downloadmyconfigs-4a25d79feef0dd6e462abfb48173da7e470127a5.tar.gz
myconfigs-4a25d79feef0dd6e462abfb48173da7e470127a5.tar.bz2
myconfigs-4a25d79feef0dd6e462abfb48173da7e470127a5.zip
Replace i3blocks with swaybar
Diffstat (limited to 'config/i3blocks/scripts/email')
-rwxr-xr-xconfig/i3blocks/scripts/email19
1 files changed, 0 insertions, 19 deletions
diff --git a/config/i3blocks/scripts/email b/config/i3blocks/scripts/email
deleted file mode 100755
index 142f422..0000000
--- a/config/i3blocks/scripts/email
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env bash
-filter=("tag:unread" "and" "not" "tag:killed")
-
-part=()
-all=0
-for mail in email gmail elektroline fel; do
- counts="$(notmuch count -- "${filter[@]}" and "tag:$mail")"
- [ "$counts" = "0" ] || \
- part+=("$mail:$counts")
- ((all = all + counts))
-done
-
-echo "${part[@]}"
-if [ "$all" = "0" ]; then
- echo
-else
- echo "mails:$all"
-fi
-echo "#ffff00"