kasi

POSIX shell password manager that is cryptography program-agnostic
Log | Files | Refs | README | LICENSE

commit e8772c497f4f298c27caeee7443b6620a8870b20
parent 28609d5c682efdf28d2e79b0905d8455dab8c77b
Author: Shokara Kou <shokara@kalli.st>
Date:   Mon, 17 Jan 2022 20:44:39 -0500

add angoumenu

In contrib because it's sort of an extension to angou instead of
actually a part of it.

Also primary selection clipboard yay.

Diffstat:
Mangou | 2+-
Acontrib/angoumenu | 6++++++
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/angou b/angou @@ -3,7 +3,7 @@ # sets the directory with all your passwords ANGOU_DIR=${ANGOU_DIR:-"$HOME/.angou/"} # sets the command to copy into your clipboard (must accept stdin) -ANGOU_CLIPBOARD=${ANGOU_CLIPBOARD:-"xsel -ib"} +ANGOU_CLIPBOARD=${ANGOU_CLIPBOARD:-"xsel -i"} # sets command to use when listing directory structure ANGOU_LIST=${ANGOU_LIST:-"tree"} diff --git a/contrib/angoumenu b/contrib/angoumenu @@ -0,0 +1,6 @@ +#!/bin/sh +ANGOU_DIR="${ANGOU_DIR:-~/.angou}" +DMENU="dmenu" + +cd "$ANGOU_DIR" +find . -name '*.gpg' | sort | sed 's,^\./,,;s,\.gpg$,,' | $DMENU | xargs angou copy