mirror of https://github.com/Flinner/dots.git
				
				
				
			
		
			
				
	
	
		
			12 lines
		
	
	
		
			325 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			325 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
#!/bin/bash
 | 
						|
#img=$(mktemp /tmp/XXXXXXXXXX.png)
 | 
						|
qdbus org.keepassxc.KeePassXC.MainWindow /keepassxc org.keepassxc.MainWindow.lockAllDatabases &
 | 
						|
img="$HOME/Pictures/wall.png"
 | 
						|
# Take a screenshot of current desktop
 | 
						|
#import -window root $img 
 | 
						|
## Pixelate the screenshot
 | 
						|
#convert $img -blur 9,9 $img
 | 
						|
i3lock -i "$img" -f
 | 
						|
#rm $img
 | 
						|
 |