* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
16 lines
582 B
Bash
Executable File
16 lines
582 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Allow Chromium to sign in to Google accounts by adding the required OAuth credentials
|
|
|
|
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
|