about summary refs log tree commit diff
path: root/bin/.local/bin/totp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-12 21:26:56 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-12 21:26:56 +0700
commit88051c9ccfa9b863b41f0ae86dbb1caaeb739743 (patch)
treeb013742178c012abcb11d72e888be4b62105fc40 /bin/.local/bin/totp
parentc6b2aca48fc3aa2a0039a99aad8fdb13b926fa94 (diff)
downloaddotfiles-88051c9ccfa9b863b41f0ae86dbb1caaeb739743.tar.gz
Overhaul configurations
Diffstat (limited to 'bin/.local/bin/totp')
-rwxr-xr-xbin/.local/bin/totp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/.local/bin/totp b/bin/.local/bin/totp
new file mode 100755
index 0000000..6a84899
--- /dev/null
+++ b/bin/.local/bin/totp
@@ -0,0 +1,2 @@
+#!/bin/sh
+oathtool --totp --base32 $(cat $HOME/.totp/$1)