From ab3d67f8500fb3df29fa0f0649bd2c8643085499 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 11 Jul 2019 23:22:16 +0200 Subject: [PATCH] [ADD] Installation script --- install.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..cfe071e --- /dev/null +++ b/install.sh @@ -0,0 +1,25 @@ +#! /usr/bin/sh + +# Configuration files +stow -t ~ X +stow -t ~ bash +stow -t ~ emacs +stow -t ~ git +stow -t ~ i3 +stow -t ~ i3blocks +stow -t ~ ranger +stow -t ~ vim +stow -t ~ zsh + +if ! [ -e ~/scripts ]; then + # Only create the symlink when the directory doesn't exist + mkdir ~/scripts + # Scripts must be in there own directory + stow -t ~/scripts scripts/ +fi + +# Common shell files +stow -t ~ shell/ + +# Wallpapers +stow -t ~ wallpapers/