From 972a491572c5ae352d02d8fd1f021cb43057170a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 5 Jul 2025 10:05:35 +0300 Subject: [PATCH] google-chrome: add fallbacks for system-wide google-chrome-{beta,unstable,canary} for evil Fedora Atomic hacks --- bash/usr-local-bin/google-chrome | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bash/usr-local-bin/google-chrome b/bash/usr-local-bin/google-chrome index 7d1d9e7..a2b6c43 100755 --- a/bash/usr-local-bin/google-chrome +++ b/bash/usr-local-bin/google-chrome @@ -8,6 +8,12 @@ elif [[ -d "$HOME/.config/google-chrome-beta" && -d "$HOME/.cache/google-chrome- /usr/bin/google-chrome-beta --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" 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 "$@" +elif hash google-chrome-beta 2> /dev/null; then + /usr/bin/google-chrome-beta --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" +elif hash google-chrome-unstable 2> /dev/null; then + /usr/bin/google-chrome-unstable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" +elif hash google-chrome-canary 2> /dev/null; then + /usr/bin/google-chrome-canary --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" elif hash com.google.Chrome 2> /dev/null; then com.google.Chrome --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@" else