dotfiles/install.sh
M1dgard 99b1911f98
[xinitrc/profile] Fix bug and set terminal to st
Removing xfce4-terminal configuration
2018-08-19 09:44:30 +02:00

27 lines
779 B
Bash

#!/bin/bash
GUI=true
[[ $1 == --no-x ]] && GUI=false
# shorthand for the default $XDG_CONFIG_HOME directory
DOT_CONF=$HOME/.config
mkdir -p $DOT_CONF
# stuff that we only want when we're setting up a graphical environment
[[ $GUI == true ]] && {
ln -s $PWD/xinitrc $HOME/.xinitrc
mkdir -p $DOT_CONF/{dunst,compton}
ln -s $PWD/i3/ $DOT_CONF/i3/
ln -s $PWD/dunstrc.ini $DOT_CONF/dunst/dunstrc
ln -s $PWD/compton.conf $DOT_CONF/compton/config
ln -s $PWD/rofi/ $DOT_CONF/rofi/
ln -s $PWD/polybar/ $DOT_CONF/polybar/
}
ln -s $PWD/profile $HOME/.profile
ln -s $PWD/gitignore $HOME/.gitignore
mkdir -p $DOT_CONF/nvim/plug/
ln -s $PWD/nvim-init.vim $DOT_CONF/nvim/init.vim
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs