summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/simple/otpmenu.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-11-28 22:19:52 +0100
committermakefu <github@syntax-fehler.de>2018-11-28 22:19:52 +0100
commitb9bbbfe22644dd877ed2d37e89efb77917dd909e (patch)
tree82fe461bcdf384f3241bcaa7092b5540bddd3a90 /tv/5pkgs/simple/otpmenu.nix
parent8164cf61f34217656da5e66a0ea06ec96f473930 (diff)
parent84c79ff43b2b65bba969aef7460f4a9d2915c112 (diff)
Merge remote-tracking branch 'lassul.us/master'
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 b35e160..0000000
--- 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 -
-''