From 4ad1408305d871bf7e9a1b3bcbadbf34e0452cae Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 24 Jul 2024 08:58:10 +0300 Subject: [PATCH] chromium browsers: remove reduntant flag, add disable disk cache There is no need for ozone-platform-hint when ozone-platform is already set. --- bash/usr-local-bin/brave | 2 +- bash/usr-local-bin/brave-beta | 2 +- bash/usr-local-bin/brave-nightly | 2 +- bash/usr-local-bin/chromium | 2 +- bash/usr-local-bin/google-chrome | 2 +- bash/usr-local-bin/microsoft-edge | 2 +- bash/usr-local-bin/microsoft-edge-beta | 2 +- bash/usr-local-bin/microsoft-edge-dev | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bash/usr-local-bin/brave b/bash/usr-local-bin/brave index 29add4c..27e1610 100755 --- a/bash/usr-local-bin/brave +++ b/bash/usr-local-bin/brave @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -x -/usr/bin/brave-browser-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/brave-browser-stable --ozone-platform=wayland --disk-cache-dir=nul --enable-features=WaylandWindowDecorations "$@" set +x diff --git a/bash/usr-local-bin/brave-beta b/bash/usr-local-bin/brave-beta index 71148f5..d7826b4 100755 --- a/bash/usr-local-bin/brave-beta +++ b/bash/usr-local-bin/brave-beta @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -x -/usr/bin/brave-browser-beta --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/brave-browser-beta --ozone-platform=wayland --disk-cache-dir=nul --enable-features=WaylandWindowDecorations "$@" set +x diff --git a/bash/usr-local-bin/brave-nightly b/bash/usr-local-bin/brave-nightly index eaa59ff..a497197 100755 --- a/bash/usr-local-bin/brave-nightly +++ b/bash/usr-local-bin/brave-nightly @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -x -/usr/bin/brave-browser-nightly --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/brave-browser-nightly --ozone-platform=wayland --disk-cache-dir=nul --enable-features=WaylandWindowDecorations "$@" set +x diff --git a/bash/usr-local-bin/chromium b/bash/usr-local-bin/chromium index 0aa7b3c..2d36c0a 100755 --- a/bash/usr-local-bin/chromium +++ b/bash/usr-local-bin/chromium @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -x -/usr/bin/chromium-browser --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/chromium-browser --ozone-platform=wayland --disk-cache-dir=nul --enable-features=WaylandWindowDecorations "$@" set +x diff --git a/bash/usr-local-bin/google-chrome b/bash/usr-local-bin/google-chrome index 721c08d..eb420c4 100755 --- a/bash/usr-local-bin/google-chrome +++ b/bash/usr-local-bin/google-chrome @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -x -/usr/bin/google-chrome-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/google-chrome-stable --ozone-platform=wayland --disk-cache-dir=nul --enable-features=WaylandWindowDecorations "$@" set +x diff --git a/bash/usr-local-bin/microsoft-edge b/bash/usr-local-bin/microsoft-edge index 032a60c..79439f8 100755 --- a/bash/usr-local-bin/microsoft-edge +++ b/bash/usr-local-bin/microsoft-edge @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -x -/usr/bin/microsoft-edge --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/microsoft-edge --ozone-platform=wayland --disk-cache-dir=nul --enable-features=WaylandWindowDecorations "$@" set +x diff --git a/bash/usr-local-bin/microsoft-edge-beta b/bash/usr-local-bin/microsoft-edge-beta index baadb4e..83fb1e7 100755 --- a/bash/usr-local-bin/microsoft-edge-beta +++ b/bash/usr-local-bin/microsoft-edge-beta @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -x -/usr/bin/microsoft-edge-beta --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/microsoft-edge-beta --ozone-platform=wayland --disk-cache-dir=nul --enable-features=WaylandWindowDecorations "$@" set +x diff --git a/bash/usr-local-bin/microsoft-edge-dev b/bash/usr-local-bin/microsoft-edge-dev index 14900c3..5980722 100755 --- a/bash/usr-local-bin/microsoft-edge-dev +++ b/bash/usr-local-bin/microsoft-edge-dev @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -x -/usr/bin/microsoft-edge-dev --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@" +/usr/bin/microsoft-edge-dev --ozone-platform=wayland --enable-features=WaylandWindowDecorations --disk-cache-dir=nul "$@" set +x