Add key led and gtk configuration files

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-12 14:32:12 +01:00
parent f60c23feaa
commit 0a4424d25e
32 changed files with 128 additions and 110 deletions

View file

@ -2,6 +2,7 @@
#
# Author: Severin Kaderli <severin.kaderli@gmail.com>
# Usage: ./install.sh
# Array of files which should be symlinked.
FILES=(
".aliases"
".bash_logout"
@ -11,20 +12,24 @@ FILES=(
".config/dunst"
".config/i3"
".config/polybar"
".config/termite"
".config/streamlink"
".config/termite"
".crontab"
".dircolors"
".gitconfig"
".hyper.js"
".gtkrc-2.0.mine"
".gtkrc-2.0"
".keyleds"
".vimrc"
".xinitrc"
".Xresources"
"bin"
)
# The directory of this repository
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Function to display fancy headers
function print_header() {
echo -e "\e[32m########################################"
echo -e "# $1"
@ -50,8 +55,9 @@ print_header "Installing packages"
print_header "Creating symlinks"
for file in "${FILES[@]}"
do
rm -rf "$HOME/$file"
ln -fs "$DIR/$file" "$HOME/$file"
echo "Linking $file"
rm -rf "$HOME/$file"
ln -fs "$DIR/$file" "$HOME/$file"
done
# Give scripts execute permissions