diff options
| author | MineralwaterXu <[email protected]> | 2020-12-21 16:50:29 +0800 |
|---|---|---|
| committer | MineralwaterXu <[email protected]> | 2020-12-21 16:50:29 +0800 |
| commit | d3f1b4a32b7ed1158fcc6c581bbcdeb0fdc3a4a5 (patch) | |
| tree | 2e2ddb32be14e1ae7a57e06f7d641ca86962f400 /dwmbar-functions/dwm_mail.sh | |
| parent | 974471df3c2bae917a12fd45d544198291647bdd (diff) | |
add mail status
Diffstat (limited to 'dwmbar-functions/dwm_mail.sh')
| -rwxr-xr-x | dwmbar-functions/dwm_mail.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dwmbar-functions/dwm_mail.sh b/dwmbar-functions/dwm_mail.sh index 27f3d51..7373e93 100755 --- a/dwmbar-functions/dwm_mail.sh +++ b/dwmbar-functions/dwm_mail.sh @@ -7,7 +7,7 @@ # To count mail in an inbox, change "/path/to/inbox" below to the location of your inbox. For example, "/home/$USER/.mail/new" dwm_mail () { - MAILBOX=$(ls /path/to/inbox | wc -l) + MAILBOX=$(ls /home/$USER/.local/share/mail/[email protected]/INBOX/new | wc -l) printf "%s" "$SEP1" if [ "$IDENTIFIER" = "unicode" ]; then |
