Added more gaming packages and sepreated git config
This commit is contained in:
34
install.sh
34
install.sh
@@ -197,7 +197,11 @@ for choice in "${tools[@]}"; do
|
||||
prismlauncher \
|
||||
heroic-games-launcher-bin \
|
||||
arrpc \
|
||||
umu-launcher
|
||||
umu-launcher \
|
||||
wine \
|
||||
protontricks \
|
||||
protonup-qt
|
||||
|
||||
stow mangohud --adopt
|
||||
|
||||
sudo -v || exit 1
|
||||
@@ -273,6 +277,29 @@ for choice in "${extratools[@]}"; do
|
||||
"Nextcloud") extrapkgs+=("nextcloud-client") ;;
|
||||
"Zen Browser") extrapkgs+=("zen-browser-bin") ;;
|
||||
"Tailscale") extrapkgs+=("tailscale") ;;
|
||||
"Global git config")
|
||||
git config --global init.defaultBranch main
|
||||
|
||||
if [ "$USER" = "vivian" ]; then
|
||||
echo "-=[ WARNING ]=-"
|
||||
echo "Because your username equals \"vivian\", your git user.name and user.email will be set to mine, please revert this change if you are not me."
|
||||
echo "Your old values will be written to ~/.dots-gitbackup"
|
||||
|
||||
{
|
||||
echo "user.name"
|
||||
git config --global user.name
|
||||
echo ""
|
||||
echo "user.email"
|
||||
git config --global user.email
|
||||
} >"$HOME"/.dots-gitbackup
|
||||
|
||||
git remote remove origin
|
||||
git remote add origin ssh://git@gitea.sparkle.gay:9173/vivian/.dotfiles.git
|
||||
git config --global user.name "Vivian Elisabeth H"
|
||||
git config --global user.email "36878099+SparkleDEV@users.noreply.github.com"
|
||||
fi
|
||||
;;
|
||||
|
||||
esac
|
||||
done
|
||||
|
||||
@@ -287,11 +314,6 @@ yay -S --needed --noconfirm $extpkgstr
|
||||
git add .
|
||||
git reset --hard HEAD
|
||||
git submodule update --recursive --init
|
||||
git remote remove origin
|
||||
git remote add origin ssh://git@gitea.sparkle.gay:9173/vivian/.dotfiles.git
|
||||
git config --global init.defaultBranch main
|
||||
git config --global user.name "Vivian Elisabeth H"
|
||||
git config --global user.email "36878099+SparkleDEV@users.noreply.github.com"
|
||||
|
||||
echo "-=[ DOTFILES INSTALLED ]=-"
|
||||
echo "You propably want to reboot"
|
||||
|
||||
Reference in New Issue
Block a user