update previewer
This commit is contained in:
		
							parent
							
								
									d96eab75d3
								
							
						
					
					
						commit
						b58f9aaac8
					
				| 
						 | 
				
			
			@ -5,5 +5,10 @@ case "$1" in
 | 
			
		|||
	*.rar) unrar l "$1";;
 | 
			
		||||
	*.7z) 7z l "$1";;
 | 
			
		||||
	*.pdf) pdftotext "$1" -;;
 | 
			
		||||
	*.jpg) img2txt "$1";;
 | 
			
		||||
	*.jpeg) img2txt "$1";;
 | 
			
		||||
	*.png) img2txt "$1";;
 | 
			
		||||
	*.gif) img2txt "$1";;
 | 
			
		||||
	*.bmp) img2txt "$1";;
 | 
			
		||||
	*) bat --plain --color always --theme base16 "$1";;
 | 
			
		||||
esac
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue