legacy-dotfiles/xinitrc
2011-01-13 09:32:28 +01:00

40 lines
1 KiB
Text

#xmodmap -e "pointer = 3 2 1"
#exec awesome
while :; do
ROTNAME="`date +%a\ %d\ %b\ %R\ %Z\ %Y`"
COWUPDT=`cat ~/.updates`
if [ $COWUPDT -gt 0 ]; then
ROTNAME="aur: $COWUPDT | $ROTNAME"
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
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
xsetroot -name "$ROTNAME"
sleep 1m
done &
feh --bg-tile ~/Pictures/tile.png
emacs --daemon
#xrandr --output DVI-I-1 --mode 1680x1050 --primary --output VGA-1 --right-of DVI-I-1
xmodmap -e "pointer = 3 2 1"
conky
exec dwm