diff --git a/scripts/.local/bin/pinentry-fuzzel b/scripts/.local/bin/pinentry-fuzzel new file mode 100755 index 0000000..4585c40 --- /dev/null +++ b/scripts/.local/bin/pinentry-fuzzel @@ -0,0 +1,18 @@ +#!/bin/sh + +echo "OK Please go ahead" +while read stdin; do + case $stdin in + GETPIN | getpin) + echo "D $(fuzzel --prompt-only "Passphrase: " --cache /dev/null --password --dmenu)" + echo "OK" + ;; + BYE | bye) + echo "OK closing connection" + exit 0 + ;; + *) + echo "OK" + ;; + esac +done