aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdaskpass9
1 files changed, 1 insertions, 8 deletions
diff --git a/daskpass b/daskpass
index 6860983..bcb3c3f 100755
--- a/daskpass
+++ b/daskpass
@@ -1,10 +1,3 @@
#!/bin/sh
-# this can be used as a password prompt.
-
-if [ -z "$WAYLAND_DISPLAY" ]
-then
- printf "" | dmenu -P -p "$1"
-else
- printf "" | bemenu -x -p "$1"
-fi
+printf "" | bemenu --password indicator --prompt " ${1}"