]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
Xresources: explicitly use URxvt
[config/dotfiles.git] / setup.sh
index be55e5252c2bb3895717d395884cea72711d8d24..0f84352570592dc3cbaea1b64d12d4dc4ad5be0e 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -35,14 +35,13 @@ fi
 
 if installed X; then
     # Prevent code duplication. Term* rules are for all terminals; XTerm rules
-    # are for XTerm and UXTerm. At the moment XTerm, UXTerm and Rxvt are
-    # supported.
+    # are for XTerm and UXTerm.
     generate Xresources .in perl -ne \
         'if (/^Term/) {
              s/^Term//;
              print "XTerm", $_;
              print "UXTerm", $_;
-             print "Rxvt", $_;
+             print "URxvt", $_;
          } elsif (/^XTerm/) {
              print $_;
              s/^XTerm//;
@@ -62,11 +61,9 @@ if installed X; then
 
     if test ! "x`os`" = xdarwin; then
         link xinitrc ~/.xinitrc
-        # lightdm doesn't use ~/.xinitrc but ~/.xprofile instead. Assume it's
-        # used when the lightdm configuration file is present.
-        if test -f "$HOME/.dmrc"; then
-            link xinitrc ~/.xprofile
-        fi
+        # Most display managers use ~/.xsession instead of ~/.xinitrc (which
+        # is used by e.g. startx). Provide both links.
+        link xinitrc ~/.xsession
     fi
     if test -f xinitrc.local; then
         link xinitrc.local ~/.xinitrc.local
@@ -74,10 +71,10 @@ if installed X; then
     link xmodmaprc ~/.xmodmaprc
     link Xresources ~/.Xresources
     link XCompose ~/.XCompose
-fi
 
-if installed xscreensaver; then
-    link xscreensaver ~/.xscreensaver
+    link fonts ~/.fonts
+
+    link bin/xlockscreen ~/.xlockscreen
 fi
 
 if installed xpdf; then