diff options
| author | Dennis Lee <dennis@dennislee.xyz> | 2020-04-04 12:55:06 -0700 |
|---|---|---|
| committer | Dennis Lee <dennis@dennislee.xyz> | 2020-04-04 12:55:06 -0700 |
| commit | 82cf021b78d235ca98df61d4ce55d4c0969c2e5f (patch) | |
| tree | 9c8f0ce7156eb85acc78cc1e11b180cac337f5c8 /.local/bin/statusbar/mailbox | |
| parent | 2b572b2a89de8aca631de686e25f2f5d306a91bd (diff) | |
| download | eibhear-82cf021b78d235ca98df61d4ce55d4c0969c2e5f.tar.gz eibhear-82cf021b78d235ca98df61d4ce55d4c0969c2e5f.tar.zst eibhear-82cf021b78d235ca98df61d4ce55d4c0969c2e5f.zip | |
substitute ~/.local/share with $XDG_DATA_HOME
Diffstat (limited to '.local/bin/statusbar/mailbox')
| -rwxr-xr-x | .local/bin/statusbar/mailbox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/mailbox b/.local/bin/statusbar/mailbox index 3ace5f5..72d4511 100755 --- a/.local/bin/statusbar/mailbox +++ b/.local/bin/statusbar/mailbox @@ -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")" |
