[install.sh] Install font for Polybar/yambar

This commit is contained in:
Midgard 2022-08-29 23:33:15 +02:00
parent 095f715d42
commit e18ea3387e
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -3,14 +3,17 @@
GUI=true GUI=true
[[ $1 == --no-x ]] && GUI=false [[ $1 == --no-x ]] && GUI=false
DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}"
DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}" DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}"
mkdir -p "$DOT_CONF" mkdir -p "$DOT_CONF"
mkdir -p "$HOME/.local/bin"
# 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 "$HOME/.local/bin"
mkdir -p "$HOME/.local/share/fonts"
mkdir -p $DOT_CONF/{dunst,compton,xfce4} mkdir -p $DOT_CONF/{dunst,compton,xfce4}
ln -s $PWD/i3/ $DOT_CONF ln -s $PWD/i3/ $DOT_CONF
ln -s $PWD/sway/ $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/redshift.ini $DOT_CONF/redshift.conf
ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal
ln -s $PWD/dpass $HOME/.local/bin/dpass 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} mkdir -p $DOT_CONF/{nvim/plug,beets}