diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 19:06:11 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 19:06:11 -0400 |
| commit | 7f334ff4b902e7cfbc8cb824e59510b752e7a754 (patch) | |
| tree | 2a03dbd10f2beb3143b58e1f3f5ad457f2c9bd7b /.local/bin/statusbar/mailbox | |
| parent | 0948cd95f3dec7694186fb4fbe31a3c46289f7a0 (diff) | |
| download | eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.tar.gz eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.tar.zst eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.zip | |
oops, sed error
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 28deb45..49630ad 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 ${XDG_DATA_HOME:$HOME/.local/share}/mail/*/INBOX/new/* -type f | wc -l 2>/dev/null)" +unread="$(find ${XDG_DATA_HOME:-$HOME/.local/share}/mail/*/INBOX/new/* -type f | wc -l 2>/dev/null)" icon="$(cat "/tmp/imapsyncicon_$USER")" |
