diff options
Diffstat (limited to 'passmenu')
-rwxr-xr-x | passmenu | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,9 +10,11 @@ fi if [[ -n $WAYLAND_DISPLAY ]]; then barmenu=tofi + args="" xdotool="ydotool type --file -" elif [[ -n $DISPLAY ]]; then barmenu=dmenu + args="-i -l 15 -r" xdotool="xdotool type --clearmodifiers --file -" else echo "Error: No Wayland or X11 display detected" >&2 @@ -24,7 +26,7 @@ password_files=( "$prefix"/**/*.gpg ) password_files=( "${password_files[@]#"$prefix"/}" ) password_files=( "${password_files[@]%.gpg}" ) -password=$(printf '%s\n' "${password_files[@]}" | "$barmenu" "$@") +password=$(printf '%s\n' "${password_files[@]}" | "$barmenu" $args "$@") [[ -n $password ]] || exit |