Make stowed packages an array in artix-install.sh
This commit is contained in:
parent
67eac27d79
commit
aea7679e8e
|
@ -13,12 +13,11 @@ sleep 0.5
|
||||||
|
|
||||||
echo "Creating the symlinks with stow..."
|
echo "Creating the symlinks with stow..."
|
||||||
|
|
||||||
for dir in *; do
|
set -- "alacritty" "mako" "nvim" "scripts" "sway" "swaylock" "swaynag" "waybar" "zsh"
|
||||||
if [ -d "$dir" ]; then
|
for pkg in $PKGS; do
|
||||||
echo "* Symlinking $dir"
|
echo "* Stowing $pkg"
|
||||||
stow -t "$HOME" --ignore="README.md" "$dir"
|
stow -t "$HOME" --ignore="README.md" "$pkg"
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
sleep 0.4
|
sleep 0.4
|
||||||
|
|
Loading…
Reference in a new issue