10 lines
		
	
	
		
			203 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			203 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
# Used by waybar
 | 
						|
# Returns a message when there is more than 50 packages available for update
 | 
						|
 | 
						|
nupdates=$(checkupdates | wc -l)
 | 
						|
if [ $nupdates -gt 50 ]; then
 | 
						|
    echo "   $nupdates  "
 | 
						|
fi
 |