commit 4fd8bcb03d1e2e343050c289cde987745926472f parent dafb5b037f350815f9187013688f44d6a0f573ff Author: hhvn <dev@haydenvh.com> Date: Tue, 23 Mar 2021 21:41:05 +0000 .s/b/gpgimport .s/b/urlhand: import from the 'net Diffstat:
A | .scripts/bin/gpgimport | | | 4 | ++++ |
M | .scripts/bin/urlhand | | | 4 | +++- |
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.scripts/bin/gpgimport b/.scripts/bin/gpgimport @@ -0,0 +1,4 @@ +#!/bin/sh +# import from the 'net + +st -e sh -c "curl \"$@\" | gpg --import; cat" diff --git a/.scripts/bin/urlhand b/.scripts/bin/urlhand @@ -20,6 +20,7 @@ netpdf popupcurl popupcgo popupw3m +gpgimport torsocks mpvms video torsocks mpvms torsocks mpv --pause @@ -32,6 +33,7 @@ torsocks netimg torsocks netpdf torsocks popupcurl torsocks popupcgo -torsocks popupw3m" | dmenu -i) +torsocks popupw3m +torsocks gpgimport" | dmenu -i) sh -c "$hand $link"