From b96beb25dcb0511f38c13b07c44cc929d5fd53ad Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 May 2023 17:45:18 +0200 Subject: Sync --- .scripts/oath | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .scripts/oath (limited to '.scripts/oath') 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" & -- cgit v1.2.3