modified the tmux status line to deal with multiple batteries.
This commit is contained in:
		
							parent
							
								
									42e1f8dc37
								
							
						
					
					
						commit
						6f6f95a120
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -69,4 +69,4 @@ bind r source-file ~/.tmux.conf
 | 
			
		|||
	#also lengthen the right side status, by mutch more.
 | 
			
		||||
	set -g status-right-length 60
 | 
			
		||||
	#have the right side status bar display the current battery status and the time/date.
 | 
			
		||||
	set -g status-right 'battery:#(acpi | cut -d ',' -f 2) | %H:%M %d-%m-%y '
 | 
			
		||||
	set -g status-right 'battery:#(acpi | grep -Eo "[0-9]+%" | tr "\n" " " | sed "s/\s\+$//") | %H:%M %d-%m-%y '
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue