update feh command
This commit is contained in:
		
							parent
							
								
									b58f9aaac8
								
							
						
					
					
						commit
						a8620075e1
					
				
							
								
								
									
										2
									
								
								lfrc
								
								
								
								
							
							
						
						
									
										2
									
								
								lfrc
								
								
								
								
							| 
						 | 
				
			
			@ -37,7 +37,7 @@ map O $mimeopen --ask $f
 | 
			
		|||
# text files and a file opener for the rest.
 | 
			
		||||
cmd open ${{
 | 
			
		||||
    case $(file --mime-type $f -b) in
 | 
			
		||||
        image/*) feh -FZd --conversion-timeout 2 $fx . &;;
 | 
			
		||||
        image/*) feh -FZd --conversion-timeout 2 --start-at $f . &;;
 | 
			
		||||
        text/*) $EDITOR $fx;;
 | 
			
		||||
        *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
 | 
			
		||||
    esac
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue