substitute ~/.local/share with $XDG_DATA_HOME

This commit is contained in:
Dennis Lee committed 2020-04-04 12:55:06 -07:00
1 parent 2b572b2a89
commit 82cf021b78
10 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ case $BLOCK_BUTTON in
- Middle click syncs mail" ;;
esac
unread="$(find ~/.local/share/mail/*/INBOX/new/* -type f | wc -l 2>/dev/null)"
unread="$(find $XDG_DATA_HOME/mail/*/INBOX/new/* -type f | wc -l 2>/dev/null)"
icon="$(cat "/tmp/imapsyncicon_$USER")"