diff options
Diffstat (limited to '.scripts/oath')
-rwxr-xr-x | .scripts/oath | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.scripts/oath b/.scripts/oath new file mode 100755 index 0000000..054c7d6 --- /dev/null +++ b/.scripts/oath @@ -0,0 +1,6 @@ +#!/bin/env bash + +sel=$(ykman oath accounts list | dmenu) +code=$(ykman oath accounts code "$sel" | awk '{print $NF}') +printf "%s" "$code" | clip +notify-send "$sel" "$code" & |