diff options
| -rwxr-xr-x | X11/rofi/pass.get | 4 | ||||
| -rw-r--r-- | 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 | |||
| 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 | ) |
| @@ -617,6 +617,7 @@ alias recall='cd /srv/recall' | |||
| 617 | alias river='rclone mount r2:/river ~/Downloads/river' | 617 | alias river='rclone mount r2:/river ~/Downloads/river' |
| 618 | alias cdl='cd ~/log' | 618 | alias cdl='cd ~/log' |
| 619 | alias cdbin='cd ~/.local/bin' | 619 | alias cdbin='cd ~/.local/bin' |
| 620 | cdta(){ cd ~/data/$(sed 's# #/#g' <<<"$@"); } | ||
| 620 | # }}} | 621 | # }}} |
| 621 | 622 | ||
| 622 | # vim:fdm=marker fdl=0 | 623 | # vim:fdm=marker fdl=0 |