From b2c3b2bd4440afc700feac4e79565016e9c33601 Mon Sep 17 00:00:00 2001 From: Vivian Elisabeth H <36878099+SparkleDEV@users.noreply.github.com> Date: Fri, 9 Jan 2026 01:17:17 +0100 Subject: [PATCH] Stow replaces old configs --- install.sh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index f71e3ff..eff3520 100755 --- a/install.sh +++ b/install.sh @@ -138,7 +138,7 @@ for choice in "${desktop[@]}"; do qt6ct-kde \ xdg-desktop-portal-gnome - stow niri qt6ct --override + stow niri qt6ct --adopt curl -fsSL https://install.danklinux.com | sh @@ -174,7 +174,8 @@ for choice in "${tools[@]}"; do wl-clipboard \ zoxide \ reflector - stow fastfetch hyfetch nvim zsh --override + stow fastfetch hyfetch nvim zsh --adopt + # gum spin --title "Updating Tealdeer database" -- \ execute_with_spinner "Updating Tealdeer database" tldr --update ;; @@ -184,7 +185,7 @@ for choice in "${tools[@]}"; do # gum spin --title "Installing Terminal Emulator..." -- \ execute_with_spinner "Installing Terminal Emulator" yay -S --needed --noconfirm \ ghostty - stow ghostty --override + stow ghostty --adopt ;; "Gaming") @@ -197,7 +198,7 @@ for choice in "${tools[@]}"; do prismlauncher \ heroic-games-launcher-bin \ arrpc - stow mangohud --override + stow mangohud --adopt sudo -v || exit 1 # gum spin --spinner minidot --title "Applying arrpy systemd fix..." -- \ @@ -219,7 +220,7 @@ for choice in "${tools[@]}"; do execute_with_spinner "Installing hamr" yay -S --needed --noconfirm \ hamr - stow hamr-sticker-picker --override + stow hamr-sticker-picker --adopt systemctl --user enable hamr.service systemctl --user add-wants niri.service hamr.service @@ -234,12 +235,12 @@ for choice in "${extratools[@]}"; do case "$choice" in "Godot") extrapkgs+=("godots-bin") - stow godot --override + stow godot --adopt ;; "Fuzzel") extrapkgs+=("fuzzel") - stow fuzzel --override + stow fuzzel --adopt ;; "Btop") extrapkgs+=("btop") ;; @@ -260,3 +261,5 @@ extpkgstr=$( sudo -v || exit 1 # gum spin --title "Installing extra packages" -- \ execute_with_spinner "Installing extra packages" yay -S --needed --noconfirm "$extpkgstr" + +git reset --hard HEAD