Stow replaces old configs

This commit is contained in:
2026-01-09 01:17:17 +01:00
parent cb6ef06d8b
commit b2c3b2bd44

View File

@@ -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