Stow override

This commit is contained in:
2026-01-09 00:25:49 +01:00
parent bab49aa5d3
commit a0db184c2d

View File

@@ -2,6 +2,15 @@
set -e set -e
sudo -v || exit 1
# keep sudo alive until script exits
while true; do
sudo -n true
sleep 60
kill -0 "$$" || exit
done 2>/dev/null &
######################### #########################
## gum style variables ## ## gum style variables ##
######################### #########################
@@ -102,7 +111,7 @@ for choice in "${desktop[@]}"; do
qt6ct-kde \ qt6ct-kde \
xdg-desktop-portal-gnome xdg-desktop-portal-gnome
stow niri qt6ct stow niri qt6ct --override
curl -fsSL https://install.danklinux.com | sh curl -fsSL https://install.danklinux.com | sh
@@ -138,7 +147,7 @@ for choice in "${tools[@]}"; do
wl-clipboard \ wl-clipboard \
zoxide \ zoxide \
reflector reflector
stow fastfetch hyfetch nvim zsh stow fastfetch hyfetch nvim zsh --override
gum spin --title "Updating Tealdeer database" -- \ gum spin --title "Updating Tealdeer database" -- \
tldr --update tldr --update
;; ;;
@@ -148,7 +157,7 @@ for choice in "${tools[@]}"; do
gum spin --title "Installing Terminal Emulator..." -- \ gum spin --title "Installing Terminal Emulator..." -- \
yay -S --needed --noconfirm \ yay -S --needed --noconfirm \
ghostty ghostty
stow ghostty stow ghostty --override
;; ;;
"Gaming") "Gaming")
@@ -161,7 +170,7 @@ for choice in "${tools[@]}"; do
prismlauncher \ prismlauncher \
heroic-games-launcher-bin \ heroic-games-launcher-bin \
arrpc arrpc
stow mangohud stow mangohud --override
sudo -v sudo -v
gum spin --spinner minidot --title "Applying arrpy systemd fix..." -- \ gum spin --spinner minidot --title "Applying arrpy systemd fix..." -- \
@@ -183,7 +192,7 @@ for choice in "${tools[@]}"; do
yay -S --needed --noconfirm \ yay -S --needed --noconfirm \
hamr hamr
stow hamr-sticker-picker stow hamr-sticker-picker --override
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
@@ -198,12 +207,12 @@ for choice in "${extratools[@]}"; do
case "$choice" in case "$choice" in
"Godot") "Godot")
extrapkgs+=("godots-bin") extrapkgs+=("godots-bin")
stow godot stow godot --override
;; ;;
"Fuzzel") "Fuzzel")
extrapkgs+=("fuzzel") extrapkgs+=("fuzzel")
stow fuzzel stow fuzzel --override
;; ;;
"Btop") extrapkgs+=("btop") ;; "Btop") extrapkgs+=("btop") ;;