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 \
|
prismlauncher \
|
||||||
heroic-games-launcher-bin \
|
heroic-games-launcher-bin \
|
||||||
arrpc \
|
arrpc \
|
||||||
umu-launcher
|
umu-launcher \
|
||||||
|
wine \
|
||||||
|
protontricks \
|
||||||
|
protonup-qt
|
||||||
|
|
||||||
stow mangohud --adopt
|
stow mangohud --adopt
|
||||||
|
|
||||||
sudo -v || exit 1
|
sudo -v || exit 1
|
||||||
@@ -273,6 +277,29 @@ for choice in "${extratools[@]}"; do
|
|||||||
"Nextcloud") extrapkgs+=("nextcloud-client") ;;
|
"Nextcloud") extrapkgs+=("nextcloud-client") ;;
|
||||||
"Zen Browser") extrapkgs+=("zen-browser-bin") ;;
|
"Zen Browser") extrapkgs+=("zen-browser-bin") ;;
|
||||||
"Tailscale") extrapkgs+=("tailscale") ;;
|
"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
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -287,11 +314,6 @@ yay -S --needed --noconfirm $extpkgstr
|
|||||||
git add .
|
git add .
|
||||||
git reset --hard HEAD
|
git reset --hard HEAD
|
||||||
git submodule update --recursive --init
|
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 "-=[ DOTFILES INSTALLED ]=-"
|
||||||
echo "You propably want to reboot"
|
echo "You propably want to reboot"
|
||||||
|
|||||||
Reference in New Issue
Block a user