From 3b97eb7761a53d915f12314a79f8e0f6a43fc0c7 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 7 Mar 2011 09:10:40 +0100 Subject: [PATCH] xinitrc habak * Tried changing the wallpaper setter, experimented with nitrogen, but picked habak for now in the end. --- xinitrc | 35 ++++++----------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/xinitrc b/xinitrc index a7de6b5..21b6055 100644 --- a/xinitrc +++ b/xinitrc @@ -1,37 +1,14 @@ +# -*- mode: shell-script -*- + #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" + xsetroot -name "`~/.getrootname`" sleep 1m done & -feh --bg-tile ~/Pictures/tile.png +#feh --bg-tile ~/Pictures/tile.png +#nitrogen --restore +habak -mp 0,0 ~/Pictures/wall/1680x1050 -mp -0,0 ~/Pictures/wall/1280x1024 emacs --daemon #xrandr --output DVI-I-1 --mode 1680x1050 --primary --output VGA-1 --right-of DVI-I-1 xmodmap -e "pointer = 3 2 1"