Compare commits

...

3 Commits

Author SHA1 Message Date
6e7d685188 Merge branch 'main' into rotom 2026-01-09 02:14:42 +01:00
2b3e6b595c I fucking hate everythink 2026-01-09 02:14:37 +01:00
48b5725138 I fucking hate everythink 2026-01-09 02:14:23 +01:00

View File

@@ -2,12 +2,14 @@
set -e set -e
DOTSDIR=$(pwd)
######################### #########################
## gum style variables ## ## gum style variables ##
######################### #########################
GUM_SPIN_SPINNER="minidot" # GUM_SPIN_SPINNER="minidot"
GUM_SPIN_SHOW_OUTPUT="true" # GUM_SPIN_SHOW_OUTPUT="true"
sudo -v || exit 1 sudo -v || exit 1
@@ -32,16 +34,16 @@ if ! command -v yay &>/dev/null; then
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
# gum spin --title "Cloning yay-bin from AUR" -- \ # gum spin --title "Cloning yay-bin from AUR" -- \
git clone https://aur.archlinux.org/yay-bin.git $TEMP_DIR/yay git clone https://aur.archlinux.org/yay-bin.git "$TEMP_DIR"/yay
cd $TEMP_DIR/yay cd "$TEMP_DIR"/yay
sudo -v || exit 1 sudo -v || exit 1
# gum spin --title "Installing yay" -- \ # gum spin --title "Installing yay" -- \
makepkg -si --noconfirm makepkg -si --noconfirm
cd -
fi fi
cd "$DOTSDIR"
############################# #############################
## Configuration Selection ## ## Configuration Selection ##
############################# #############################
@@ -104,10 +106,10 @@ for choice in "${desktop[@]}"; do
qt6ct-kde \ qt6ct-kde \
xdg-desktop-portal-gnome xdg-desktop-portal-gnome
stow niri qt6ct --adopt
curl -fsSL https://install.danklinux.com | sh curl -fsSL https://install.danklinux.com | sh
stow niri qt6ct --adopt
xdg-mime default org.gnome.nautilus.desktop inode/directory xdg-mime default org.gnome.nautilus.desktop inode/directory
sudo systemctl enable ly@tty1 sudo systemctl enable ly@tty1
@@ -144,6 +146,8 @@ for choice in "${tools[@]}"; do
# gum spin --title "Updating Tealdeer database" -- \ # gum spin --title "Updating Tealdeer database" -- \
tldr --update tldr --update
chsh -S /bin/zsh "$USER"
;; ;;
"Terminal Emulator") "Terminal Emulator")
@@ -225,7 +229,7 @@ extpkgstr=$(
) )
sudo -v || exit 1 sudo -v || exit 1
# gum spin --title "Installing extra packages" -- \
yay -S --needed --noconfirm "$extpkgstr" yay -S --needed --noconfirm "$extpkgstr"
git add .
git reset --hard HEAD git reset --hard HEAD