Chromium 89+ needs special oauth2 help, also moving ozone flags

Ref:
- https://wiki.archlinux.org/index.php/Chromium
- https://gist.github.com/foutrelis/14e339596b89813aa9c37fd1b4e5d9d5
This commit is contained in:
David Thurstenson 2021-03-05 12:50:54 -06:00
parent f2d7063434
commit 5638821740
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
static_args=('--enable-features=UseOzonePlatform' '--ozone-platform=wayland')
chromium "${static_args[@]}" "$@"