Display cmatrix when locking the tmux!
This commit is contained in:
		
							parent
							
								
									ea72ce6a3f
								
							
						
					
					
						commit
						eae896300e
					
				|  | @ -14,6 +14,7 @@ | |||
| ## Dépendances: | ||||
| ##  vlock : permet de verrouiller tmux en cas d'inactivé ou d'appel (CTRL+b x) | ||||
| ##  urlview : permet de lister les liens présents dans une fenêtre (CTRL+b u) | ||||
| ##  cmatrix: simulates the display from "The Matrix" used both with vlock (CTRL+b x) | ||||
| 
 | ||||
| 
 | ||||
| #### UTF-8 ------------------------------------------------------------- | ||||
|  | @ -218,8 +219,9 @@ set -g pane-base-index 1 | |||
| 
 | ||||
| # Verrouillage de la session après inactivité (en s) | ||||
| set -g lock-after-time 1800 | ||||
| # pour que le lock marche sous linux (apt-get install vlock) | ||||
| set -g lock-command vlock | ||||
| # pour que le lock marche sous linux (aptitude install vlock) | ||||
| # Use both cmatrix (if available) and vlock | ||||
| if 'command -v cmatrix' 'set -g lock-command "cmatrix -s && vlock"' 'set -g lock-command vlock' | ||||
| 
 | ||||
| # Initialize sessions | ||||
| bind I source-file ~/.tmux/splitWORK | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue