From f1c90afdafccf1ad29ee6f4e600ce98a1cb1bbb2 Mon Sep 17 00:00:00 2001 From: swytch Date: Thu, 25 Jun 2020 18:17:42 +0200 Subject: [PATCH] breaking: move suckless tools to ~/.local/src/ --- .local/bin/arch_setup | 2 +- .local/bin/compiler | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/arch_setup b/.local/bin/arch_setup index c7aacfe..d6780fd 100755 --- a/.local/bin/arch_setup +++ b/.local/bin/arch_setup @@ -25,7 +25,7 @@ services_list="netctl-auto@wlp4s0 systemd-timescyncd" git_clone() { - git clone https://gitlab.com/swy7ch/$1 ~/suckless/$1 + git clone https://gitlab.com/swy7ch/$1 ~/$HOME/.local/src/suckless/$1 printf "\n$1 downloaded!" cd ~/$1 git remote set-url origin git@gitlab.com:swy7ch/$1 diff --git a/.local/bin/compiler b/.local/bin/compiler index 5132d37..80bbb4e 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -20,7 +20,7 @@ dirname=$(basename "$dir") base="$(printf "${file%.*}" | awk -F '/' '{printf $NF}')" shebang=$(sed -n 1p "$file") -sucklesstools="$(ls $XDG_CONFIG_HOME/suckless)" +sucklesstools="$(ls $HOME/.local/src/suckless)" cd "$dir" || exit