From 005cf5f0fed1d253631e00e228f69d6e3e487771 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 26 Feb 2023 13:19:27 +0800 Subject: Update --- X11/rofi/pass.get | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'X11') diff --git a/X11/rofi/pass.get b/X11/rofi/pass.get index 7bec799..c250384 100755 --- a/X11/rofi/pass.get +++ b/X11/rofi/pass.get @@ -48,7 +48,10 @@ if [ -n "$RESULT" ]; then # Password doesn't exist yet # Go to next rofi execution -else +elif pass find $1 &>/dev/null; then + echo -e "\0prompt\x1fGPG Issue" + echo Passphase is not chached +else echo -e "\0prompt\x1f$1" echo -e "\0message\x1fThis password doesn't exist, generate with custom arguments?" echo -e "\0data\x1f$1" -- cgit v1.2.3-70-g09d2