Add key led and gtk configuration files
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
f60c23feaa
commit
0a4424d25e
32 changed files with 128 additions and 110 deletions
14
install.sh
14
install.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue