improved dmenupass, added file explanation to dmenumount

This commit is contained in:
2022-04-12 10:42:48 +02:00
parent 34c9a7d89e
commit 97ebd1624a
2 changed files with 9 additions and 1 deletions

View File

@ -3,4 +3,9 @@
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a
# password prompt if needed.
dmenu -fn Monospace-18 -P -p "$1" <&- && echo
if [ "$1" = "--display" ] || [ -z "$1" ]; then
prompt=Password:
else
prompt="$1"
fi
dmenu -P -p "$prompt" <&-