dwm and dwmbar
This commit is contained in:
1 parent
307448edd3
commit
135fe92331
50 files changed
+1846
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Prints number of unread mail
|
||||
# Requires mutt/neomutt
|
||||
|
||||
MAIL_DIR="/home/$USER/Mail/INBOX/new/*"
|
||||
PREFIX=' :'
|
||||
|
||||
get_mail()
|
||||
{
|
||||
echo "$PREFIX$(du -a $MAIL_DIR 2>/dev/null | wc -l)"
|
||||
}
|
||||
|
||||
get_mail
|
||||
Reference in new issue
Block a user