diff --git a/v2/arch-minimal.sh b/v2/arch-minimal.sh index 2bb8a09..1c023b6 100755 --- a/v2/arch-minimal.sh +++ b/v2/arch-minimal.sh @@ -127,6 +127,20 @@ else say_yellow "${DOWNLOAD_NAME} Nerd Font is already installed in $FONT_DIR. Skipping installation." fi +# allow Chromium login with Google Account +if [[ -f ~/.config/chromium-flags.conf ]]; then + CONF=~/.config/chromium-flags.conf + + grep -qxF -- "--oauth2-client-id=77185425430.apps.googleusercontent.com" "$CONF" || + echo "--oauth2-client-id=77185425430.apps.googleusercontent.com" >>"$CONF" + + grep -qxF -- "--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT" "$CONF" || + echo "--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT" >>"$CONF" + + echo "Now you can login to your Google Account in Chromium." +fi + + # Enable basic services #sudo systemctl enable chronyd.service sudo systemctl enable fstrim.timer