diff --git a/dot_local/scripts/executable_passmenu.sh b/dot_local/scripts/executable_passmenu.sh index 60a7796..5bcfa0c 100644 --- a/dot_local/scripts/executable_passmenu.sh +++ b/dot_local/scripts/executable_passmenu.sh @@ -18,6 +18,8 @@ password=$(printf '%s\n' "${password_files[@]}" | $HOME/.local/scripts/rofiwrap. [[ -n $password ]] || exit -MSG=$(pass show -c1 "$password" 2>&1) +exec 3< <(pass show -c "$password" 2>&1) +read <&3 MSG notify-send "Password copied." "$MSG" +wait