diff options
| author | Shokara Kou <shokara@kalli.st> | 2022-01-17 20:44:39 -0500 |
|---|---|---|
| committer | Shokara Kou <shokara@kalli.st> | 2022-01-17 20:44:39 -0500 |
| commit | e8772c497f4f298c27caeee7443b6620a8870b20 (patch) | |
| tree | 30a47c182de6cab7537f50944ef9265da0208d2a /contrib | |
| parent | 28609d5c682efdf28d2e79b0905d8455dab8c77b (diff) | |
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 (limited to 'contrib')
| -rwxr-xr-x | contrib/angoumenu | 6 |
1 files changed, 6 insertions, 0 deletions
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 | ||
| 2 | ANGOU_DIR="${ANGOU_DIR:-~/.angou}" | ||
| 3 | DMENU="dmenu" | ||
| 4 | |||
| 5 | cd "$ANGOU_DIR" | ||
| 6 | find . -name '*.gpg' | sort | sed 's,^\./,,;s,\.gpg$,,' | $DMENU | xargs angou copy | ||
