dotfiles/.bin/chrome

63 lines
2.0 KiB
Plaintext
Raw Normal View History

#!/bin/sh
/usr/local/bin/chrome \
--bwsi \
--disable-3d-apis \
--disable-angle-features=allowETCFormats \
--disable-auto-reload \
--disable-breakpad \
--disable-client-side-phishing-detection \
--disable-component-cloud-policy \
--disable-component-update \
--disable-crash-reporter \
--disable-device-discovery-notifications \
--disable-features=WebAssembly,AsmJsToWebAssembly,WebAssemblyStreaming \
--disable-logging \
--disable-login-animations \
--disable-notifications \
--disable-pinch \
--disable-vulkan-surface \
--disable-software-rasterizer \
--disable-gpu-process-crash-limit \
--disable-chrome-browser-cloud-management \
--disable-field-trial-config \
--disable-cookie-encryption \
--disable-cloud-print-proxy \
--enable-early-process-singleton \
--dbus-stub \
--cros-disks-fake \
--disable-stack-profiler \
--disable-touch-drag-drop \
--disable-usb-keyboard-detect \
--disable-wayland-ime \
--disable-windows10-custom-titlebar \
--disable-default-apps \
--disable-dev-shm-usage \
--disable-gaia-services \
--disable-gpu-early-init \
--disable-gpu-process-for-dx12-info-collection \
--disable-histogram-customizer \
--disable-in-process-stack-traces \
--disable-ios-password-suggestions \
--no-service-autorun \
--no-experiments \
--enable-low-end-device-mode \
--use-gl=swiftshader \
--disable-wayland-ime \
--enable-features=RunVideoCaptureServiceInBrowserProcess,WebUIDarkMode \
--force-dark-mode \
--hide-crash-restore-bubble \
--js-flags=--noexpose-wasm \
--no-default-browser-check \
--no-proxy-server \
--no-recovery-component \
--password-store=basic \
--structured-metrics-disabled \
--wm-window-animations-disabled \
--new-window "$@"
#--use-gl=egl \
# --disable-yuv-image-decoding \
# --use-gl=desktop \
# --high-dpi-support=1 \
# --force-device-scale-factor=1.5 \