[install] Clean up, fix beet directory not existing
This commit is contained in:
parent
4b94e945ac
commit
e8af9f6b26
1 changed files with 4 additions and 7 deletions
11
install.sh
11
install.sh
|
@ -3,29 +3,26 @@
|
||||||
GUI=true
|
GUI=true
|
||||||
[[ $1 == --no-x ]] && GUI=false
|
[[ $1 == --no-x ]] && GUI=false
|
||||||
|
|
||||||
# shorthand for the default $XDG_CONFIG_HOME directory
|
DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
DOT_CONF=$HOME/.config
|
mkdir -p "$DOT_CONF"
|
||||||
mkdir -p $DOT_CONF
|
|
||||||
|
|
||||||
# stuff that we only want when we're setting up a graphical environment
|
# stuff that we only want when we're setting up a graphical environment
|
||||||
[[ $GUI == true ]] && {
|
[[ $GUI == true ]] && {
|
||||||
ln -s $PWD/xinitrc $HOME/.xinitrc
|
ln -s $PWD/xinitrc $HOME/.xinitrc
|
||||||
|
|
||||||
mkdir -p $DOT_CONF/{dunst,compton}
|
mkdir -p $DOT_CONF/{dunst,compton,xfce4}
|
||||||
ln -s $PWD/i3/ $DOT_CONF/i3/
|
ln -s $PWD/i3/ $DOT_CONF/i3/
|
||||||
ln -s $PWD/dunstrc.ini $DOT_CONF/dunst/dunstrc
|
ln -s $PWD/dunstrc.ini $DOT_CONF/dunst/dunstrc
|
||||||
ln -s $PWD/compton.conf $DOT_CONF/compton/config
|
ln -s $PWD/compton.conf $DOT_CONF/compton/config
|
||||||
ln -s $PWD/rofi/ $DOT_CONF/rofi/
|
ln -s $PWD/rofi/ $DOT_CONF/rofi/
|
||||||
ln -s $PWD/polybar/ $DOT_CONF/polybar/
|
ln -s $PWD/polybar/ $DOT_CONF/polybar/
|
||||||
ln -s $PWD/redshift.ini $DOT_CONF/redshift.conf
|
ln -s $PWD/redshift.ini $DOT_CONF/redshift.conf
|
||||||
|
|
||||||
mkdir -p $DOT_CONF/xfce4
|
|
||||||
ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal
|
ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mkdir -p $DOT_CONF/{nvim/plug,beets}
|
||||||
ln -s $PWD/profile $HOME/.profile
|
ln -s $PWD/profile $HOME/.profile
|
||||||
ln -s $PWD/gitignore $HOME/.gitignore
|
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/nvim-init.vim $DOT_CONF/nvim/init.vim
|
||||||
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs
|
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs
|
||||||
ln -s $PWD/beets.config.yaml $DOT_CONF/beets/config.yaml
|
ln -s $PWD/beets.config.yaml $DOT_CONF/beets/config.yaml
|
||||||
|
|
Loading…
Reference in a new issue