2018-04-03 15:55:41 +02:00
|
|
|
#!/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 ]] && {
|
2018-04-17 16:29:28 +02:00
|
|
|
ln -s $PWD/xinitrc $HOME/.xinitrc
|
2018-04-03 15:55:41 +02:00
|
|
|
|
2018-05-04 02:54:41 +02:00
|
|
|
mkdir -p $DOT_CONF/{dunst,compton}
|
2018-04-17 16:29:28 +02:00
|
|
|
ln -s $PWD/i3/ $DOT_CONF/i3/
|
|
|
|
ln -s $PWD/dunstrc.ini $DOT_CONF/dunst/dunstrc
|
2018-05-04 02:54:41 +02:00
|
|
|
ln -s $PWD/compton.conf $DOT_CONF/compton/config
|
2018-04-17 16:29:28 +02:00
|
|
|
ln -s $PWD/rofi/ $DOT_CONF/rofi/
|
|
|
|
ln -s $PWD/polybar/ $DOT_CONF/polybar/
|
|
|
|
|
|
|
|
mkdir -p $DOT_CONF/xfce4
|
|
|
|
ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal
|
2018-04-03 15:55:41 +02:00
|
|
|
}
|
|
|
|
|
2018-08-18 22:19:05 +02:00
|
|
|
ln -s $PWD/profile $HOME/.profile
|
2018-07-12 12:54:12 +02:00
|
|
|
ln -s $PWD/gitignore $HOME/.gitignore
|
2018-04-03 15:55:41 +02:00
|
|
|
mkdir -p $DOT_CONF/nvim/plug/
|
2018-04-17 16:29:28 +02:00
|
|
|
ln -s $PWD/nvim-init.vim $DOT_CONF/nvim/init.vim
|
2018-08-18 22:19:05 +02:00
|
|
|
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs
|