summaryrefslogtreecommitdiff
path: root/dwmbar-functions
diff options
context:
space:
mode:
authorMineralwaterXu <[email protected]>2020-12-21 16:50:29 +0800
committerMineralwaterXu <[email protected]>2020-12-21 16:50:29 +0800
commitd3f1b4a32b7ed1158fcc6c581bbcdeb0fdc3a4a5 (patch)
tree2e2ddb32be14e1ae7a57e06f7d641ca86962f400 /dwmbar-functions
parent974471df3c2bae917a12fd45d544198291647bdd (diff)
add mail status
Diffstat (limited to 'dwmbar-functions')
-rwxr-xr-xdwmbar-functions/dwm_mail.sh2
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