Commits

Anonymous committed 8fdfa64

get rid of the vim plugin stuff in setup

  • Participants
  • Parent commits bd659ca

Comments (0)

Files changed (2)

 . /etc/profile
 . "$HOME/etc/bash/bash_profile"
 
-#defaultserverargs="-dpi 75"
+xrandr -s 1920x1200
 
-xmodmap "$HOME/etc/X11/Xmodmap"
+#xmodmap "$HOME/etc/X11/Xmodmap"
 xbindkeys -f "$HOME/etc/X11/xbindkeysrc"
 xset r rate 200 100
+xset +fp /usr/share/fonts/local
+xset fp rehash
 
 urxvtd -q -o -f
 urxvtc &
-#sleep 2 && xrandr | grep -q "DVI-D-1 connected" && xrandr -s 1920x1200 && xrandr --output DVI-D-1 --auto --right-of LVDS-1 &
-sleep 1 && [ $(disper -l | wc -l) -gt 2 ] && disper -e &
-echo 200 | sudo tee /sys/devices/platform/i8042/serio1/serio2/sensitivity
-echo 200 | sudo tee /sys/devices/platform/i8042/serio1/serio2/speed
 
-i=0
-[ -f $HOME/.mail_check ] && rm $HOME/.mail_check
 while pidof X &> /dev/null; do
-
-	if [ $i -ge 5 ] && ! [ -f "$HOME/.mail_check" ]; then
-		{
-			touch "$HOME/.mail_check"
-			unset mail
-			if echo q | mail -A gmail | grep -q unread; then
-				mail="G"
-			fi
-			if echo q | mail -A xirrus | grep -q unread; then
-				mail="${mail}X"
-			fi
-			if echo q | mail -A icancelli | grep -q unread; then
-				mail="${mail}I"
-			fi
-			if [ -n "$mail" ]; then
-				mail=" $mail"
-			fi
-			echo -n "$mail" > "$HOME/.mail_status"
-			rm "$HOME/.mail_check"
-		} &
-		i=0
-	fi
-
-	bat="$(acpi | cut -d ',' -f 2)"
-	vol="$(amixer get Master | grep "Mono:" | sed 's/.*\[\(.*%\)\] .*/\1/')"
-	xsetroot -name "[m$(cat "$HOME/.mail_status")] [b$bat] [v $vol] [$(date "+%a %b %d %R %Z %Y")]"
-	((i++))
-	sleep 30
+	xsetroot -name "$(date "+%a %b %d %R %Z %Y")"
+	sleep 1
 done &
 
 while pidof X &> /dev/null; do
 
 # vim stuff
 sed -i "s|__HOME__|$HOME|" "$HOME/etc/vim/vimrc" # for xdsproj...
-mkdir -p "$HOME/etc/vim/bundle"
-hg clone http://bitbucket.org/sjl/gundo.vim "$HOME/etc/vim/bundle/gundo"
 
-git clone http://github.com/fmoralesc/vim-pad "$HOME/etc/vim/bundle/vim-pad"
-cd "$HOME/etc/vim/bundle/vim-pad"
-patch -p1 < "$HOME/etc/vim/patches/vim-pad-keys.diff"
-cd -
-