From c4653b40e1fb59185e36e90f3ed435cd43b91eae Mon Sep 17 00:00:00 2001 From: Midgard <2885-Midgard@users.noreply.framagit.org> Date: Wed, 26 Jul 2023 15:46:35 +0200 Subject: [PATCH] Create bin/ directory with all scripts to install --- .gitignore | 1 + dpass => bin/dpass | 0 install.sh | 6 +++--- 3 files changed, 4 insertions(+), 3 deletions(-) rename dpass => bin/dpass (100%) diff --git a/.gitignore b/.gitignore index e92cdcb..2575503 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ nvim/plug nvim/**/.* **/secrets.sh i3/background* +!bin/ .mypy_cache/ diff --git a/dpass b/bin/dpass similarity index 100% rename from dpass rename to bin/dpass diff --git a/install.sh b/install.sh index daf63dc..a1c55aa 100644 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ GUI=true [[ $1 == --no-x ]] && GUI=false DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}" -DOT_CONF="${XDG_CONFIG_HOME:-$HOME/.config}" +DOT_LOCAL_BIN="$HOME/.local/bin" mkdir -p "$DOT_CONF" # stuff that we only want when we're setting up a graphical environment @@ -12,7 +12,7 @@ mkdir -p "$DOT_CONF" ln -s $PWD/xinitrc $HOME/.xinitrc ln -s $PWD/Xresources $HOME/.Xresources - mkdir -p "$HOME/.local/bin" + mkdir -p "$DOT_LOCAL_BIN" mkdir -p $DOT_CONF/{dunst,compton,xfce4,foot} ln -s $PWD/i3/ $DOT_CONF @@ -25,7 +25,7 @@ mkdir -p "$DOT_CONF" ln -s $PWD/redshift.ini $DOT_CONF/redshift.conf ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal ln -s $PWD/foot.ini $DOT_CONF/foot/foot.ini - ln -s $PWD/dpass $HOME/.local/bin/dpass + ln -s -t $DOT_LOCAL_BIN $PWD/bin/* sudo mkdir -p /usr/share/fonts/local sudo ln -s $PWD/yambar/bar-material-supplements.ttf /usr/share/fonts/local/