From 50247ddc4d6084e8a4218314f46e7ab4c19e7efb Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 19 May 2025 12:10:46 +0300 Subject: [PATCH] google-chrome: fallback to chromium --- bash/usr-local-bin/chromiuma | 1 + bash/usr-local-bin/google-chrome | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 bash/usr-local-bin/chromiuma diff --git a/bash/usr-local-bin/chromiuma b/bash/usr-local-bin/chromiuma new file mode 120000 index 0000000..4994c67 --- /dev/null +++ b/bash/usr-local-bin/chromiuma @@ -0,0 +1 @@ +chromium \ No newline at end of file diff --git a/bash/usr-local-bin/google-chrome b/bash/usr-local-bin/google-chrome index ed967e9..8805d9e 100755 --- a/bash/usr-local-bin/google-chrome +++ b/bash/usr-local-bin/google-chrome @@ -6,7 +6,9 @@ elif [[ -d "$HOME/.config/google-chrome-unstable" && -d "$HOME/.cache/google-chr /usr/bin/google-chrome-unstable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" elif [[ -d "$HOME/.config/google-chrome-beta" && -d "$HOME/.cache/google-chrome-beta" ]]; then /usr/bin/google-chrome-beta --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" -else +elif hash google-chrome-stable 2> /dev/null; then /usr/bin/google-chrome-stable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" +else + chromiuma "$@" fi set +x