summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/simple/otpmenu.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-11-28 09:54:51 +0100
committertv <tv@krebsco.de>2018-11-28 10:32:47 +0100
commit0c7c964e7597f5f66e146c20b82d8a3e086d52eb (patch)
tree8815d5b991f53e56daa3861d0fbe4d81ba78ed0e /tv/5pkgs/simple/otpmenu.nix
parent57ce731ffb28adfc854de3caa1987509e1939559 (diff)
tv otpmenu: RIP
Diffstat (limited to 'tv/5pkgs/simple/otpmenu.nix')
-rw-r--r--tv/5pkgs/simple/otpmenu.nix15
1 files changed, 0 insertions, 15 deletions
diff --git a/tv/5pkgs/simple/otpmenu.nix b/tv/5pkgs/simple/otpmenu.nix
deleted file mode 100644
index b35e1601f..000000000
--- a/tv/5pkgs/simple/otpmenu.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ dmenu, gnused, pass, writeDashBin, xdotool }:
-
-writeDashBin "otpmenu" ''
- set -efu
-
- x=$(
- ${pass}/bin/pass git ls-files '*/otp.gpg' \
- | ${gnused}/bin/sed 's:/otp\.gpg$::' \
- | ${dmenu}/bin/dmenu -f -p OTP
- )
-
- otp=$(${pass}/bin/pass otp code "$x/otp")
-
- printf %s "$otp" | ${xdotool}/bin/xdotool type -f -
-''