google-chrome: add fallbacks for system-wide google-chrome-{beta,unstable,canary} for evil Fedora Atomic hacks

This commit is contained in:
Aminda Suomalainen 2025-07-05 10:05:35 +03:00
parent e24578090f
commit 972a491572
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

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