aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-24 20:49:09 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-24 20:49:09 +0530
commit992a7561efffd4d5c3acb00cad80bd238b87b6f6 (patch)
tree76ca063f646765cce7fd4f4c619a29514e743820
parentd97a423e34572e8954bddec3c734e50199cdc6fe (diff)
daskpass: drop x11 support
-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}"