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 \ qt6ct-kde \
xdg-desktop-portal-gnome xdg-desktop-portal-gnome
stow niri qt6ct --override stow niri qt6ct --adopt
curl -fsSL https://install.danklinux.com | sh curl -fsSL https://install.danklinux.com | sh
@@ -174,7 +174,8 @@ for choice in "${tools[@]}"; do
wl-clipboard \ wl-clipboard \
zoxide \ zoxide \
reflector reflector
stow fastfetch hyfetch nvim zsh --override stow fastfetch hyfetch nvim zsh --adopt
# gum spin --title "Updating Tealdeer database" -- \ # gum spin --title "Updating Tealdeer database" -- \
execute_with_spinner "Updating Tealdeer database" tldr --update execute_with_spinner "Updating Tealdeer database" tldr --update
;; ;;
@@ -184,7 +185,7 @@ for choice in "${tools[@]}"; do
# gum spin --title "Installing Terminal Emulator..." -- \ # gum spin --title "Installing Terminal Emulator..." -- \
execute_with_spinner "Installing Terminal Emulator" yay -S --needed --noconfirm \ execute_with_spinner "Installing Terminal Emulator" yay -S --needed --noconfirm \
ghostty ghostty
stow ghostty --override stow ghostty --adopt
;; ;;
"Gaming") "Gaming")
@@ -197,7 +198,7 @@ for choice in "${tools[@]}"; do
prismlauncher \ prismlauncher \
heroic-games-launcher-bin \ heroic-games-launcher-bin \
arrpc arrpc
stow mangohud --override stow mangohud --adopt
sudo -v || exit 1 sudo -v || exit 1
# gum spin --spinner minidot --title "Applying arrpy systemd fix..." -- \ # 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 \ execute_with_spinner "Installing hamr" yay -S --needed --noconfirm \
hamr hamr
stow hamr-sticker-picker --override stow hamr-sticker-picker --adopt
systemctl --user enable hamr.service systemctl --user enable hamr.service
systemctl --user add-wants niri.service hamr.service systemctl --user add-wants niri.service hamr.service
@@ -234,12 +235,12 @@ for choice in "${extratools[@]}"; do
case "$choice" in case "$choice" in
"Godot") "Godot")
extrapkgs+=("godots-bin") extrapkgs+=("godots-bin")
stow godot --override stow godot --adopt
;; ;;
"Fuzzel") "Fuzzel")
extrapkgs+=("fuzzel") extrapkgs+=("fuzzel")
stow fuzzel --override stow fuzzel --adopt
;; ;;
"Btop") extrapkgs+=("btop") ;; "Btop") extrapkgs+=("btop") ;;
@@ -260,3 +261,5 @@ extpkgstr=$(
sudo -v || exit 1 sudo -v || exit 1
# gum spin --title "Installing extra packages" -- \ # gum spin --title "Installing extra packages" -- \
execute_with_spinner "Installing extra packages" yay -S --needed --noconfirm "$extpkgstr" execute_with_spinner "Installing extra packages" yay -S --needed --noconfirm "$extpkgstr"
git reset --hard HEAD