From 041d3f7c7d3f73661429a834341a27cefb5d5a86 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Fri, 5 Feb 2021 23:46:39 -0600 Subject: [PATCH] a --- dot_local/scripts/executable_passmenu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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