[install.sh] Install font for Polybar/yambar
This commit is contained in:
parent
095f715d42
commit
e18ea3387e
1 changed files with 5 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue