From 944ddd206af7fd7895d5b149203cd7affa64ca60 Mon Sep 17 00:00:00 2001 From: ewy Date: Fri, 15 May 2026 02:19:59 +0200 Subject: a lot of stuff --- .local/bin/uwupass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.local/bin/uwupass') diff --git a/.local/bin/uwupass b/.local/bin/uwupass index aad2a08..348214a 100755 --- a/.local/bin/uwupass +++ b/.local/bin/uwupass @@ -60,14 +60,13 @@ target=$(echo "$pass" | eval "$(dbQuery show -s)" -a Password \"$entry\") # Write the password -ydotool type "$target" -message "Finished writing password." +echo "$target" | wl-copy +message "Copied password for $entry to selection buffer." -# Copy TOTP to clipboard +# Copy TOTP ~~to clipboard~~ totp="$(echo "$pass" | eval "$(dbQuery show -s -t)" \"$entry\")" echo $totp if [[ -n "$totp" ]]; then - message "Copied TOTP ($totp) to selection." - echo "$totp" | wl-copy + message "Your TOTP is $totp." fi -- cgit v1.3.1