summaryrefslogtreecommitdiffstats
path: root/.scripts/statusbar/mailbox
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-02 19:20:26 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-02 19:20:26 -0400
commitfd57c4350b5cebe82ca0790856340eae1dbb3d81 (patch)
treef15f34c1dec271d0bf7548325ef95a78991bc5fe /.scripts/statusbar/mailbox
parent72095821e987c38520b1beab56fa69f2006d8615 (diff)
downloadeibhear-fd57c4350b5cebe82ca0790856340eae1dbb3d81.tar.gz
eibhear-fd57c4350b5cebe82ca0790856340eae1dbb3d81.tar.zst
eibhear-fd57c4350b5cebe82ca0790856340eae1dbb3d81.zip
fix for dunst update
Diffstat (limited to '.scripts/statusbar/mailbox')
-rwxr-xr-x.scripts/statusbar/mailbox5
1 files changed, 2 insertions, 3 deletions
diff --git a/.scripts/statusbar/mailbox b/.scripts/statusbar/mailbox
index 0c5ccbe..c0794e5 100755
--- a/.scripts/statusbar/mailbox
+++ b/.scripts/statusbar/mailbox
@@ -7,11 +7,10 @@
case $BLOCK_BUTTON in
1) "$TERMINAL" -e neomutt ;;
2) setsid $HOME/.config/mutt/etc/mailsync.sh >/dev/null & ;;
- 3) pgrep -x dunst >/dev/null && notify-send "<b>📬 Mail module:</b>
-- Shows unread mail
+ 3) pgrep -x dunst >/dev/null && notify-send "📬 Mail module" "\- Shows unread mail
- Shows 🔃 if syncing mail
- Left click opens neomutt
- Middle click syncs mail" ;;
esac
-echo "$(du -a ~/.mail/*/INBOX/new/* 2>/dev/null | sed -n '$=')$(cat /tmp/imapsyncicon 2>/dev/null)"
+echo "$(du -a ~/.local/share/mail/*/INBOX/new/* 2>/dev/null | sed -n '$=')$(cat /tmp/imapsyncicon 2>/dev/null)"