From 464dd54ecf245f0f574486f8c243dbc33c5f7b6d Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 17 Jul 2025 15:19:12 +0800 Subject: Update --- X11/rofi/pass.get | 4 ++-- alias | 1 + 2 files changed, 3 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 # Password exist but command fails, must be something wrong with GPG decryption # Most of the time it is because passphrase is not cached by gpg-agent - # Use zenity for passphrase input + # Use yad for passphrase input coproc( - RESULT="$( zenity --password | gpg --pinentry-mode loopback --passphrase-fd 0 -d "$HOME/.password-store/$1.gpg")" + RESULT="$(yad --entry --hide-text | gpg --pinentry-mode loopback --passphrase-fd 0 -d "$HOME/.password-store/$1.gpg")" _save_to_clipboard "$RESULT" _show_extra "$RESULT" "$1" ) diff --git a/alias b/alias index bf259c6..e91b52f 100644 --- a/alias +++ b/alias @@ -617,6 +617,7 @@ alias recall='cd /srv/recall' alias river='rclone mount r2:/river ~/Downloads/river' alias cdl='cd ~/log' alias cdbin='cd ~/.local/bin' +cdta(){ cd ~/data/$(sed 's# #/#g' <<<"$@"); } # }}} # vim:fdm=marker fdl=0 -- cgit v1.2.3-70-g09d2