diff options
| author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
|---|---|---|
| committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
| commit | 45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch) | |
| tree | b564c1c43920def6641cd482a7b4dca453dbc043 /.bin/oath | |
| parent | 07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff) | |
| download | dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip | |
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to '.bin/oath')
| -rwxr-xr-x | .bin/oath | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/.bin/oath b/.bin/oath deleted file mode 100755 index 7444993..0000000 --- a/.bin/oath +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | if [[ $1 ]]; then | ||
| 4 | PASS=$(oathtool -b --totp $(pass show "oath/$1")) | ||
| 5 | printf $PASS | wl-copy | ||
| 6 | echo "pass: $PASS" | ||
| 7 | echo "Password should be in your clipboard!" | ||
| 8 | else | ||
| 9 | echo "Usage: oath <pass>" | ||
| 10 | echo "Available pass:" | ||
| 11 | pass oath | ||
| 12 | fi | ||
| 13 | |||
| 14 | |||
