legacy-dotfiles/install.sh
2010-12-05 12:19:49 +01:00

20 lines
589 B
Bash
Executable file

INSTALL_BASEFILE=`readlink -f $0`
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
CMD="ln -sfn"
# XDEFAULTS
echo "Linking $INSTALL_BASEDIR/.Xdefaults to $HOME/.Xdefaults"
$CMD $INSTALL_BASEDIR/Xdefaults $HOME/.Xdefaults
# XMODMAP
echo "Linking $INSTALL_BASEDIR/.Xmodmap to $HOME/.Xmodmap"
$CMD $INSTALL_BASEDIR/Xmodmap $HOME/.Xmodmap
# NCMPCPP
echo "Linking $INSTALL_BASEDIR/ncmpcpp to $HOME/.ncmpcpp"
$CMD $INSTALL_BASEDIR/ncmpcpp $HOME/.ncmpcpp
# AWESOME
echo "Linking $INSTALL_BASEDIR/config/awesome to $HOME/.config/awesome"
$CMD $INSTALL_BASEDIR/config/awesome $HOME/.config/awesome