dot/gitconfig.in: Disable SSH connection caching by git-annex.
[profile] / setup
diff --git a/setup b/setup
index 5422976..6504cbb 100755 (executable)
--- a/setup
+++ b/setup
@@ -142,6 +142,7 @@ dotfiles="
   rcrc
   toprc
   mc-ini:.mc/ini mc-panels.ini:.mc/panels.ini
+  pulse-daemon.conf:.pulse/daemon.conf
   aspell.conf
   tclshrc:.tclshrc tclshrc:.wishrc
   lisp-init.lisp:.cmucl-init.lisp
@@ -152,7 +153,7 @@ dotfiles="
   w3m-config:.w3m/config elinks.conf:.elinks/elinks.conf
   dircolors colordiffrc screenrc cvsrc indent.pro"
 [ "$xstuff" ] && dotfiles="$dotfiles
-  xinitrc xsession xmodmap Xdefaults vncrc vncsession
+  xinitrc xsession xmodmap vncrc vncsession
   fonts.conf
   stalonetrayrc
   putty-defaults:.putty/sessions/Default%20Settings
@@ -176,6 +177,25 @@ for d in $dotfiles; do
 done
 echo " all done."
 
+## CPP-hack files which need it.
+cppfiles=""
+[ "$xstuff" ] && cppfiles="$cppfiles
+  Xdefaults"
+echo "Hacking files with C preprocessor..."
+for c in $cppfiles; do
+  target=.$c
+  case $c in
+    *:*) target=${c#*:} c=${c%%:*};;
+  esac
+  ft=$HOME$sub/$target
+  dir=${ft%/*}
+  mkdir -p $dir
+  cpp -P dot/$c -o $ft.new
+  mv $ft.new $ft
+  echo "  $target"
+done
+echo " all done."
+
 ## Substitute things which need substituting.
 dotfilessubst="
   gitconfig
@@ -205,13 +225,16 @@ echo "  all done."
 
 ## Symlink backgrounds.
 backgrounds="
-  jue-peek.jpg
-  medusa.jpg
   bsg-supper.jpg
-  rayne.jpg
+  harley-quinn.jpg
   hypatia.jpg
+  jue-peek.jpg
+  lilith.jpg
+  lovelace.jpg
+  medusa.jpg
   noodly.jpg
-  lovelace.jpg"
+  rayne.jpg
+"
 if [ "$xstuff" ]; then
   echo "Installing backgrounds..."
   for b in $backgrounds; do
@@ -241,7 +264,9 @@ scripts="
   aspell-hack
   emerge-hack
   lesspipe.sh
+  run-with-shell-env
   start-ssh-agent
+  start-ssh-pageant
   svnwrap
   guest-console
   hyperspec"
@@ -249,6 +274,7 @@ scripts="
   xinitcmd
   un-backslashify-selection
   lock-screen
+  xpra-start-xdummy
   xshutdown"
 echo "Installing scripts..."
 mkdir -p $HOME$sub/bin