9 lines
		
	
	
		
			161 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			161 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
pac=$(checkupdates | wc -l)
 | 
						|
aur=$(cower -u | wc -l)
 | 
						|
 | 
						|
check=$((pac + aur))
 | 
						|
if [[ "$check" != "0" ]]; then
 | 
						|
    echo "$pac %{F#5b5b5b}%{F-} $aur"
 | 
						|
fi
 |