diff --git a/install.sh b/install.sh index 2b7ad80..08252e5 100644 --- a/install.sh +++ b/install.sh @@ -3,14 +3,17 @@ GUI=true [[ $1 == --no-x ]] && GUI=false +DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}" DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}" mkdir -p "$DOT_CONF" -mkdir -p "$HOME/.local/bin" # stuff that we only want when we're setting up a graphical environment [[ $GUI == true ]] && { ln -s $PWD/xinitrc $HOME/.xinitrc + mkdir -p "$HOME/.local/bin" + mkdir -p "$HOME/.local/share/fonts" + mkdir -p $DOT_CONF/{dunst,compton,xfce4} ln -s $PWD/i3/ $DOT_CONF ln -s $PWD/sway/ $DOT_CONF @@ -22,6 +25,7 @@ mkdir -p "$HOME/.local/bin" ln -s $PWD/redshift.ini $DOT_CONF/redshift.conf ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal ln -s $PWD/dpass $HOME/.local/bin/dpass + ln -s $PWD/yambar/bar-material-supplements.ttf $HOME/.local/share/fonts/ } mkdir -p $DOT_CONF/{nvim/plug,beets}