X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=a93d357ec98934b346283c3558fd2385f7738517;hb=16de0a69ee045bbea7d7b6e3f0b0419bc8a7d754;hp=eb7e8c2c6fe82be31e51f5afed3a3d338be166ee;hpb=b8aeb26b122396eb294e39daba2ed7bad6cc33b8;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index eb7e8c2..a93d357 100755 --- 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,6 +71,10 @@ if installed X; then link xmodmaprc ~/.xmodmaprc link Xresources ~/.Xresources link XCompose ~/.XCompose + + link fonts ~/.fonts + + link bin/xlockscreen ~/.xlockscreen fi if installed xpdf; then @@ -83,6 +84,9 @@ if installed zathura; then mkdir -p ~/.config/zathura link zathurarc ~/.config/zathura/zathurarc fi +if installed katarakt; then + link katarakt.ini ~/.config/katarakt.ini +fi if installed feh; then mkdir -p ~/.config