summaryrefslogtreecommitdiff
path: root/scripts/Scripts/passmenu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Scripts/passmenu')
-rw-r--r--scripts/Scripts/passmenu4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Scripts/passmenu b/scripts/Scripts/passmenu
index e3cf4a8..be2d206 100644
--- a/scripts/Scripts/passmenu
+++ b/scripts/Scripts/passmenu
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+DMENU="rofi -dmenu"
+
shopt -s nullglob globstar
typeit=0
@@ -13,7 +15,7 @@ password_files=( "$prefix"/**/*.gpg )
password_files=( "${password_files[@]#"$prefix"/}" )
password_files=( "${password_files[@]%.gpg}" )
-password=$(printf '%s\n' "${password_files[@]}" | dmenu "$@")
+password=$(printf '%s\n' "${password_files[@]}" | $DMENU -i "$@")
[[ -n $password ]] || exit