From c1c1eba0cd689a9bf42a778e7a23f3d8fcfe6284 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 15 Feb 2025 10:58:12 +0900 Subject: updates --- ar/.local/bin/stw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ar/.local') diff --git a/ar/.local/bin/stw b/ar/.local/bin/stw index 1a1a51c..f6a5c85 100755 --- a/ar/.local/bin/stw +++ b/ar/.local/bin/stw @@ -5,7 +5,7 @@ stowdir="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}" # Function to list and select stow packages using dmenu select_stow_package() { - find "$stowdir" -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "default" | while read -r dir; do + find "$stowdir" -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "global" | while read -r dir; do if [ -n "$(find "$dir" -mindepth 1 -maxdepth 1)" ]; then basename "$dir" fi @@ -62,7 +62,7 @@ targetdir=$(select_stow_package) || exit 1 resolve=$(ask_resolution_strategy) || exit 1 # Stow -stow_package "$targetdir" "$resolve" && stow_package "default" "$resolve" || exit +stow_package "$targetdir" "$resolve" && stow_package "global" "$resolve" || exit # Link for profile ln -sf "$stowdir/$targetdir/.config/shell/profile" "$HOME/.zprofile" -- cgit v1.2.3