all repos — pa @ 4c3f7df9ec4eab636d2af7c56093d3d854a44ec7

my personal password manager

contrib/pa-rofi

 1
 2
 3
 4
 5
 6
 7
 8
#!/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 -i "$@")

pa show "$password" | head -n 1 |
    xdotool type --clearmodifiers --file -