diff options
Diffstat (limited to 'X11/rofi/pass.get')
| -rwxr-xr-x | X11/rofi/pass.get | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/X11/rofi/pass.get b/X11/rofi/pass.get index 97a67f9..6dca0ac 100755 --- a/X11/rofi/pass.get +++ b/X11/rofi/pass.get | |||
| @@ -61,9 +61,9 @@ elif [ -f "$HOME/.password-store/$1.gpg" ]; then | |||
| 61 | # Password exist but command fails, must be something wrong with GPG decryption | 61 | # Password exist but command fails, must be something wrong with GPG decryption |
| 62 | # Most of the time it is because passphrase is not cached by gpg-agent | 62 | # Most of the time it is because passphrase is not cached by gpg-agent |
| 63 | 63 | ||
| 64 | # Use zenity for passphrase input | 64 | # Use yad for passphrase input |
| 65 | coproc( | 65 | coproc( |
| 66 | RESULT="$( zenity --password | gpg --pinentry-mode loopback --passphrase-fd 0 -d "$HOME/.password-store/$1.gpg")" | 66 | RESULT="$(yad --entry --hide-text | gpg --pinentry-mode loopback --passphrase-fd 0 -d "$HOME/.password-store/$1.gpg")" |
| 67 | _save_to_clipboard "$RESULT" | 67 | _save_to_clipboard "$RESULT" |
| 68 | _show_extra "$RESULT" "$1" | 68 | _show_extra "$RESULT" "$1" |
| 69 | ) | 69 | ) |