mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 03:17:32 +01:00 
			
		
		
		
	google-chrome: add fallbacks for system-wide google-chrome-{beta,unstable,canary} for evil Fedora Atomic hacks
This commit is contained in:
		
							parent
							
								
									e24578090f
								
							
						
					
					
						commit
						972a491572
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user