Add pa-rofi
j3s j3s@c3f.net
Mon, 08 Feb 2021 14:56:22 -0600
1 files changed,
8 insertions(+),
0 deletions(-)
jump to
A
contrib/pa-rofi
@@ -0,0 +1,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 "$@") + +pa show "$password" | head -n 1 | + xdotool type --clearmodifiers --file -