From 5638821740f77a021cb1455608448ce8b8fd8063 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Fri, 5 Mar 2021 12:50:54 -0600 Subject: [PATCH] Chromium 89+ needs special oauth2 help, also moving ozone flags Ref: - https://wiki.archlinux.org/index.php/Chromium - https://gist.github.com/foutrelis/14e339596b89813aa9c37fd1b4e5d9d5 --- .config/chromium-flags.conf | 9 +++++++++ bin/chrome | 5 ----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .config/chromium-flags.conf delete mode 100755 bin/chrome diff --git a/.config/chromium-flags.conf b/.config/chromium-flags.conf new file mode 100644 index 0000000..26a3ce7 --- /dev/null +++ b/.config/chromium-flags.conf @@ -0,0 +1,9 @@ +# Enable Ozone and use the Wayland platform +--enable-features=UseOzonePlatform +--ozone-platform=wayland + +# Use publicly-available oauth tokens +# Ref: https://wiki.archlinux.org/index.php/Chromium +# Ref: https://gist.github.com/foutrelis/14e339596b89813aa9c37fd1b4e5d9d5 +--oauth2-client-id=77185425430.apps.googleusercontent.com +--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT diff --git a/bin/chrome b/bin/chrome deleted file mode 100755 index 3f3fc75..0000000 --- a/bin/chrome +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -static_args=('--enable-features=UseOzonePlatform' '--ozone-platform=wayland') - -chromium "${static_args[@]}" "$@"