Removed getrootname.sh, don't use dwm anymore
This commit is contained in:
parent
1da3fe081e
commit
d34da91b10
1 changed files with 0 additions and 40 deletions
|
@ -1,40 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
COWUPDT=`cower -u | wc -l`
|
||||
if [ $COWUPDT -gt 0 ]; then
|
||||
ROTNAME="aur: $COWUPDT | "
|
||||
fi
|
||||
|
||||
PACUPDT=`pacman -Qu | wc -l`
|
||||
if [ $PACUPDT -gt 0 ]; then
|
||||
ROTNAME="updates: $PACUPDT | $ROTNAME"
|
||||
fi
|
||||
|
||||
IACTCNT=`find ~/Mail/iactor/INBOX/new -maxdepth 1 -type f -print | wc -l`
|
||||
if [ $IACTCNT -gt 0 ]; then
|
||||
ROTNAME="iactor: $IACTCNT | $ROTNAME"
|
||||
fi
|
||||
|
||||
AETHCNT=`find ~/Mail/aethon/INBOX/new -maxdepth 1 -type f -print | wc -l`
|
||||
if [ $AETHCNT -gt 0 ]; then
|
||||
ROTNAME="aethon: $AETHCNT | $ROTNAME"
|
||||
fi
|
||||
|
||||
GMAILCT=`find ~/Mail/gmail/INBOX/new -maxdepth 1 -type f -print | wc -l`
|
||||
if [ $GMAILCT -gt 0 ]; then
|
||||
ROTNAME="gmail: $GMAILCT | $ROTNAME"
|
||||
fi
|
||||
|
||||
ARCHCNT=`find ~/Mail/arch/INBOX/new -maxdepth 1 -type f -print | wc -l`
|
||||
if [ $ARCHCNT -gt 0 ]; then
|
||||
ROTNAME="arch: $ARCHCNT | $ROTNAME"
|
||||
fi
|
||||
|
||||
FETCHING=`ps -A | grep offlineimap | wc -l`
|
||||
if [ $FETCHING -gt 0 ]; then
|
||||
ROTNAME="fetching mail... | $ROTNAME"
|
||||
fi
|
||||
|
||||
ROTNAME="$ROTNAME`date +%a\ %d\ %b\ %R\ %Z\ %Y`"
|
||||
|
||||
echo $ROTNAME
|
Loading…
Reference in a new issue