mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +00:00 
			
		
		
		
	Lock KeePass when screen will be locked.
This commit is contained in:
		
							parent
							
								
									52a7533436
								
							
						
					
					
						commit
						670c77b06a
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,14 @@
 | 
			
		|||
#
 | 
			
		||||
# {{@@ env['dotdrop_warning'] @@}}
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
# Set lock screen background
 | 
			
		||||
lockscreen="$HOME/.config/bspwm/lock.png"
 | 
			
		||||
 | 
			
		||||
# Lock all KeePass databases
 | 
			
		||||
keepass --lock-all
 | 
			
		||||
 | 
			
		||||
# Lock the screen
 | 
			
		||||
i3lock -u -i $lockscreen
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue