Use physlock instead of vlock.
This commit is contained in:
		
							parent
							
								
									c7a8fdd093
								
							
						
					
					
						commit
						47ac7cd5e6
					
				
							
								
								
									
										12
									
								
								tmux.conf
								
								
								
								
							
							
						
						
									
										12
									
								
								tmux.conf
								
								
								
								
							|  | @ -12,9 +12,9 @@ | ||||||
| ##  tmux attach -d -t SESSION_ID | ##  tmux attach -d -t SESSION_ID | ||||||
| ## | ## | ||||||
| ## Dépendances: | ## Dépendances: | ||||||
| ##  vlock : permet de verrouiller tmux en cas d'inactivé ou d'appel (CTRL+b x) | ##  physlock : lightweight Linux console locking tool (CTRL+b x). | ||||||
| ##  urlview : permet de lister les liens présents dans une fenêtre (CTRL+b u) | ##  urlview : Extracts URLs from text (CTRL+b u). | ||||||
| ##  cmatrix: simulates the display from "The Matrix" used both with vlock (CTRL+b x) | ##  cmatrix : Simulates the display from "The Matrix" used both with *physlock* (CTRL-b x). | ||||||
| 
 | 
 | ||||||
| ### colors {{{ | ### colors {{{ | ||||||
| black="#000000" | black="#000000" | ||||||
|  | @ -231,9 +231,9 @@ set -g pane-base-index 1 | ||||||
| 
 | 
 | ||||||
| # Verrouillage de la session après inactivité (en s) | # Verrouillage de la session après inactivité (en s) | ||||||
| set -g lock-after-time 1800 | set -g lock-after-time 1800 | ||||||
| # pour que le lock marche sous linux (aptitude install vlock) | # pour que le lock marche sous linux (aptitude install physlock) | ||||||
| # Use both cmatrix (if available) and vlock | # Use both cmatrix (if available) and physlock | ||||||
| if 'command -v cmatrix' 'set -g lock-command "cmatrix -s && vlock"' 'set -g lock-command vlock' | if 'command -v cmatrix' 'set -g lock-command "cmatrix -s && physlock"' 'set -g lock-command physlock' | ||||||
| 
 | 
 | ||||||
| # Initialize sessions | # Initialize sessions | ||||||
| bind I source-file ~/.tmux/splitWORK\; display-message "tmux split for Work" | bind I source-file ~/.tmux/splitWORK\; display-message "tmux split for Work" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue