Switch battery capacity and status
This commit is contained in:
		
							parent
							
								
									e5ffa98b80
								
							
						
					
					
						commit
						c5e09a0c7f
					
				
							
								
								
									
										2
									
								
								aji.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								aji.sh
									
									
									
									
									
								
							@ -51,8 +51,8 @@ elif [ "$1" == "bright" ] && [ "$2" == "down" ]; then
 | 
			
		||||
elif [ "$1" == "bright" ]; then
 | 
			
		||||
	echo $bright
 | 
			
		||||
elif [ "$1" == "info" ]; then
 | 
			
		||||
    xsetroot -name " Bright: $bright | Vol: $vol | $capacity% $status | $(date +'%a, %F %R') "
 | 
			
		||||
	sleep 2
 | 
			
		||||
    xsetroot -name " Bright: $bright | Vol: $vol | $status $capacity% | $(date +'%a, %F %R') "
 | 
			
		||||
	xsetroot -name " DAP "
 | 
			
		||||
else
 | 
			
		||||
    echo "Invalid argument."
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user