diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-15 02:19:59 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-15 02:19:59 +0200 |
| commit | 944ddd206af7fd7895d5b149203cd7affa64ca60 (patch) | |
| tree | f8e39637100d34d90c8dabc5b3d515196f7a86d4 /.local/bin/uwupass | |
| parent | 9be248d6caf5d5592883928276231548cd56c360 (diff) | |
a lot of stuff
Diffstat (limited to '.local/bin/uwupass')
| -rwxr-xr-x | .local/bin/uwupass | 9 |
1 files changed, 4 insertions, 5 deletions
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 |
