fetch: Simplify neofetch call
This commit is contained in:
		
							
								
								
									
										6
									
								
								fetch
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								fetch
									
									
									
									
									
								
							@@ -1,11 +1,7 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
name="$(basename $0 .sh)"
 | 
			
		||||
if $(which neofetch > /dev/null 2>&1); then
 | 
			
		||||
	neofetch\
 | 
			
		||||
		--disable model resolution\
 | 
			
		||||
		--block_range 0 15\
 | 
			
		||||
		--image wall\
 | 
			
		||||
		--xoffset 4 --yoffset 4
 | 
			
		||||
	neofetch
 | 
			
		||||
	scrot "$HOME/Pictures/Screenshots/neofetch-`date +%s`.png"
 | 
			
		||||
else
 | 
			
		||||
	printf "$name: Neofetch is not installed; aborting\n"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user