mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 03:17:32 +01:00 
			
		
		
		
	google-chrome: fallback to chromium
This commit is contained in:
		
							parent
							
								
									6d89c3671b
								
							
						
					
					
						commit
						50247ddc4d
					
				
							
								
								
									
										1
									
								
								bash/usr-local-bin/chromiuma
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								bash/usr-local-bin/chromiuma
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
chromium
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user