backgrounds: Add two more for the collection.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 18 Jul 2009 14:30:58 +0000 (15:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 18 Jul 2009 15:16:47 +0000 (16:16 +0100)
Also fix the setup script to handle backgrounds separately from
dotfiles, since they all go the same place(s).

medusa.jpg [new file with mode: 0644]
rayne.jpg [new file with mode: 0644]
setup

diff --git a/medusa.jpg b/medusa.jpg
new file mode 100644 (file)
index 0000000..19baed6
Binary files /dev/null and b/medusa.jpg differ
diff --git a/rayne.jpg b/rayne.jpg
new file mode 100644 (file)
index 0000000..f54294b
Binary files /dev/null and b/rayne.jpg differ
diff --git a/setup b/setup
index 50bb776..93ff48e 100755 (executable)
--- a/setup
+++ b/setup
@@ -150,9 +150,7 @@ dotfiles="
   eterm-theme.cfg:.Eterm/themes/Eterm/theme.cfg
   e-keybindings.cfg:.enlightenment/keybindings.cfg
   evnc-keybindings.cfg:.enlightenment-vnc/keybindings.cfg
-  e16-bindings:.e16/bindings.cfg
-  jue-peek.jpg:.enlightenment/backgrounds/jue-peek.jpg
-  jue-peek.jpg:.e16/backgrounds/jue-peek.jpg"
+  e16-bindings:.e16/bindings.cfg"
 echo "Installing dotfiles..."
 for d in $dotfiles; do
   target=.$d
@@ -168,6 +166,23 @@ for d in $dotfiles; do
 done
 echo " all done."
 
+## Symlink backgrounds.
+backgrounds="jue-peek.jpg medusa.jpg rayne.jpg"
+if [ "$xstuff" ]; then
+  echo "Installing backgrounds..."
+  for b in $backgrounds; do
+    for e in enlightenment e16; do
+      dir=$HOME$sub/.$e/backgrounds
+      t=$dir/$b
+      mkdir -p $dir
+      ln -s $here/$b $t.new
+      mv $t.new $t
+    done
+    echo "  $b"
+  done
+  echo "       all done."
+fi
+
 ###--------------------------------------------------------------------------
 ### Process the Git configuration.