12 lines
		
	
	
		
			231 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			231 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| # This script is the SUDO_ASKPASS variable, meaning that it will be used as a
 | |
| # password prompt if needed.
 | |
| 
 | |
| if [ "$1" = "--display" ] || [ -z "$1" ]; then
 | |
| 	prompt=Password:
 | |
| else
 | |
| 	prompt="$1"
 | |
| fi
 | |
| dmenu -P -p "$prompt" <&-
 |