From 25722a7608490f14640cfdb51260bf392503b98d Mon Sep 17 00:00:00 2001 From: "[yuri]" <[yuri.kuit@gmail.com]> Date: Thu, 11 Dec 2025 10:49:43 +0100 Subject: [PATCH] arch minimal add chromium tweak --- v2/arch-minimal.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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