10 lines
		
	
	
		
			254 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			254 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| # Take password prompt from STDIN, print password to STDOUT
 | |
| # the sed piece just removes the colon from the provided
 | |
| # prompt: rofi -p already gives us a colon
 | |
| rofi -dmenu \
 | |
| 	-password \
 | |
| 	-no-fixed-num-lines \
 | |
| 	-p "$(printf "$1" | sed s/://)"
 |