summaryrefslogtreecommitdiffstats
path: root/install.sh
blob: 7713fb3ab2989922d086b2eb8720ebfe5981efb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
INSTALL_BASEFILE=`readlink -f $0`
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`


# XDEFAULTS
echo "Linking $INSTALL_BASEDIR/.Xdefaults to $HOME/.Xdefaults"
ln -sf $INSTALL_BASEDIR/.Xdefaults $HOME/.Xdefaults

# XMODMAP
echo "Linking $INSTALL_BASEDIR/.Xmodmap to $HOME/.Xmodmap"
ln -sf $INSTALL_BASEDIR/.Xmodmap $HOME/.Xmodmap

# PINERC
echo "Linking $INSTALL_BASEDIR/pinerc to $HOME/.pinerc"
ln -sf $INSTALL_BASEDIR/pinerc $HOME/.pinerc

#for item in `ls`; do
#    if [ -d $item ]; then
#        if [ -e $item/install.sh ]; then
#            . $item/install.sh $INSTALL_BASEDIR
#        fi
#    fi
#done