Display additionnal info while run tmux in tty
This commit is contained in:
		
							parent
							
								
									1ee3ebca8a
								
							
						
					
					
						commit
						b62b5cc1f6
					
				|  | @ -48,6 +48,15 @@ set -g pane-border-fg white | |||
| ## Panel actif | ||||
| set -g pane-active-border-fg "${debianred}" | ||||
| 
 | ||||
| # right statusbar | ||||
| # %H:%M:%S : Affiche de l'heure (actualisation lors de manipulation ou en fonction de la valeur de status-interval) | ||||
| set -g status-right "⚡[#[fg="${darkred}",bright]%H:%M:%S#[default]]" | ||||
| 
 | ||||
| # Additionnal info if no display available (aka tty) | ||||
| # #H: hostname | ||||
| # #(acpi | cut -d \" \" -f4): display percentage of battery | ||||
| if '[ -z "$DISPLAY" ]' 'set -g status-right "#H #(acpi | cut -d \" \" -f4) [#[fg="${darkred}",bright]%H:%M:%S#[default]]"' | ||||
| 
 | ||||
| ### }}} | ||||
| 
 | ||||
| ### keybindings {{{ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue