Change pa-rofi search to be case-insensitive (#4)
Taha Gharib tgharib@users.noreply.github.com
Thu, 07 Oct 2021 14:58:39 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
contrib/pa-rofi
→
contrib/pa-rofi
@@ -2,7 +2,7 @@ #!/bin/sh
cd "${PA_DIR:-$HOME/.local/share/pa}" password_files="$(find * -type f | grep -v '/.git')" -password=$(printf '%s\n' "$password_files" | sed 's/.age//' | rofi -dmenu "$@") +password=$(printf '%s\n' "$password_files" | sed 's/.age//' | rofi -dmenu -i "$@") pa show "$password" | head -n 1 | xdotool type --clearmodifiers --file -