small pixel drawing of a pufferfish pa

Add dmenu script
j3s j3s@c3f.net
Thu, 04 Feb 2021 18:35:05 -0600
commit

a3040cd61fcbc48ffd0927019ad66b93323d719e

parent

3669567176202270ea0a63e1ed9bd0fe8905aa9a

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
A contrib/pa-dmenu

@@ -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//' | dmenu "$@") + +pa show "$password" | head -n 1 | + xdotool type --clearmodifiers --file -