summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xangou2
-rwxr-xr-xcontrib/angoumenu6
2 files changed, 7 insertions, 1 deletions
diff --git a/angou b/angou
index 96a2c88..5a252a3 100755
--- a/angou
+++ b/angou
@@ -3,7 +3,7 @@
3# sets the directory with all your passwords 3# sets the directory with all your passwords
4ANGOU_DIR=${ANGOU_DIR:-"$HOME/.angou/"} 4ANGOU_DIR=${ANGOU_DIR:-"$HOME/.angou/"}
5# sets the command to copy into your clipboard (must accept stdin) 5# sets the command to copy into your clipboard (must accept stdin)
6ANGOU_CLIPBOARD=${ANGOU_CLIPBOARD:-"xsel -ib"} 6ANGOU_CLIPBOARD=${ANGOU_CLIPBOARD:-"xsel -i"}
7# sets command to use when listing directory structure 7# sets command to use when listing directory structure
8ANGOU_LIST=${ANGOU_LIST:-"tree"} 8ANGOU_LIST=${ANGOU_LIST:-"tree"}
9 9
diff --git a/contrib/angoumenu b/contrib/angoumenu
new file mode 100755
index 0000000..04bbf95
--- /dev/null
+++ b/contrib/angoumenu
@@ -0,0 +1,6 @@
1#!/bin/sh
2ANGOU_DIR="${ANGOU_DIR:-~/.angou}"
3DMENU="dmenu"
4
5cd "$ANGOU_DIR"
6find . -name '*.gpg' | sort | sed 's,^\./,,;s,\.gpg$,,' | $DMENU | xargs angou copy