aboutsummaryrefslogtreecommitdiffhomepage
path: root/X11
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-07-17 15:19:12 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-07-17 15:19:12 +0800
commit464dd54ecf245f0f574486f8c243dbc33c5f7b6d (patch)
tree29c53757b964acbe4b9385321dabd6c4d3dc6a73 /X11
parentb7498f2a64062edda8b15cb003252f36955fcb9c (diff)
Update
Diffstat (limited to 'X11')
-rwxr-xr-xX11/rofi/pass.get4
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 )