google-chrome: fallback to chromium

This commit is contained in:
Aminda Suomalainen 2025-05-19 12:10:46 +03:00
parent 6d89c3671b
commit 50247ddc4d
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1 @@
chromium

View File

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