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
 | 
					elif [ "$1" == "bright" ]; then
 | 
				
			||||||
	echo $bright
 | 
						echo $bright
 | 
				
			||||||
elif [ "$1" == "info" ]; then
 | 
					elif [ "$1" == "info" ]; then
 | 
				
			||||||
    xsetroot -name " Bright: $bright | Vol: $vol | $capacity% $status | $(date +'%a, %F %R') "
 | 
					 | 
				
			||||||
	sleep 2
 | 
						sleep 2
 | 
				
			||||||
 | 
					    xsetroot -name " Bright: $bright | Vol: $vol | $status $capacity% | $(date +'%a, %F %R') "
 | 
				
			||||||
	xsetroot -name " DAP "
 | 
						xsetroot -name " DAP "
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
    echo "Invalid argument."
 | 
					    echo "Invalid argument."
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user