Added xinitrc

This commit is contained in:
Tom Willemsen 2011-01-13 09:32:28 +01:00
parent c177e6e219
commit 7b63cde67c
2 changed files with 42 additions and 0 deletions

View file

@ -37,6 +37,8 @@ linkmy vimrc .vimrc
linkmy vim .vim
# XDEFAULTS
linkmy Xdefaults .Xdefaults
# XINITRC
linkmy xinitrc .xinitrc
# XMODMAP
linkmy Xmodmap .Xmodmap
# ZSH

40
xinitrc Normal file
View file

@ -0,0 +1,40 @@
#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