MailLoop: create mail dir in loop. (can be removed by cleaner or by another reason).
This commit is contained in:
parent
434e84ff8c
commit
b841873b38
|
@ -2,9 +2,9 @@
|
|||
# mymail_gmail_loop.sh
|
||||
|
||||
MAILDIR=/tmp/$USER-mail_loop
|
||||
mkdir --mode=700 $MAILDIR 2>/dev/null
|
||||
|
||||
while [ 1 ]; do
|
||||
mkdir --mode=700 $MAILDIR 2>/dev/null
|
||||
val=$(timeout -k 30 25 ~/.config/awesome/mail_loop_mymail.py)
|
||||
if [[ "$val" == "" ]]; then val = "?"; fi
|
||||
echo $val > $MAILDIR/mymail_count
|
||||
|
|
Loading…
Reference in New Issue