From 2369d15480aab71a40b1a1ef6ca629a2012476d4 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Mon, 6 Mar 2023 10:18:37 +0100
Subject: Enable sync to google account in chromium

---
 system/.profile | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'system')

diff --git a/system/.profile b/system/.profile
index 41567a7..5f512a0 100644
--- a/system/.profile
+++ b/system/.profile
@@ -32,6 +32,9 @@ export HISTTIMEFORMAT="%Y-%m-%d %T "
 export QUOTING_STYLE=literal
 export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp -Dsun.java2d.opengl=true'
 
+# Enable sync in Chromium: https://stackoverflow.com/a/67459416 and https://askubuntu.com/a/780874
+export CHROMIUM_FLAGS="--oauth2-client-id=77185425430.apps.googleusercontent.com --oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT"
+
 shopt -s globstar
 
 [ "$(tty)" = "/dev/tty1" ] && exec startx
-- 
cgit v1.2.3