breaking: move suckless tools to ~/.local/src/
This commit is contained in:
parent
ed514f3a95
commit
f1c90afdaf
@ -25,7 +25,7 @@ services_list="netctl-auto@wlp4s0 systemd-timescyncd"
|
|||||||
|
|
||||||
|
|
||||||
git_clone() {
|
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!"
|
printf "\n$1 downloaded!"
|
||||||
cd ~/$1
|
cd ~/$1
|
||||||
git remote set-url origin git@gitlab.com:swy7ch/$1
|
git remote set-url origin git@gitlab.com:swy7ch/$1
|
||||||
|
@ -20,7 +20,7 @@ dirname=$(basename "$dir")
|
|||||||
base="$(printf "${file%.*}" | awk -F '/' '{printf $NF}')"
|
base="$(printf "${file%.*}" | awk -F '/' '{printf $NF}')"
|
||||||
shebang=$(sed -n 1p "$file")
|
shebang=$(sed -n 1p "$file")
|
||||||
|
|
||||||
sucklesstools="$(ls $XDG_CONFIG_HOME/suckless)"
|
sucklesstools="$(ls $HOME/.local/src/suckless)"
|
||||||
|
|
||||||
cd "$dir" || exit
|
cd "$dir" || exit
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user