From aea7679e8e90856da9b12d8cd6f28b0ab7b16652 Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Sat, 8 Jan 2022 18:43:03 +0100 Subject: [PATCH] Make stowed packages an array in artix-install.sh --- artix-install.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/artix-install.sh b/artix-install.sh index 8ba31b3..71b371e 100755 --- a/artix-install.sh +++ b/artix-install.sh @@ -13,12 +13,11 @@ sleep 0.5 echo "Creating the symlinks with stow..." -for dir in *; do - if [ -d "$dir" ]; then - echo "* Symlinking $dir" - stow -t "$HOME" --ignore="README.md" "$dir" - sleep 0.1 - fi +set -- "alacritty" "mako" "nvim" "scripts" "sway" "swaylock" "swaynag" "waybar" "zsh" +for pkg in $PKGS; do + echo "* Stowing $pkg" + stow -t "$HOME" --ignore="README.md" "$pkg" + sleep 0.1 done sleep 0.4