From 7afa48701451653cf251c779ed069677dde92cd5 Mon Sep 17 00:00:00 2001 From: ewy Date: Thu, 16 Jul 2026 13:06:30 +0200 Subject: update --- .local/bin/uwuload | 6 +++--- .local/bin/uwupass | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/uwuload b/.local/bin/uwuload index effdb39..63a1d04 100755 --- a/.local/bin/uwuload +++ b/.local/bin/uwuload @@ -1,9 +1,9 @@ #!/usr/bin/env bash set -euox pipefail -file=$1 -filename="$(basename $1)" +file="$*" +filename=$(basename "$file") rsync -r --progress --stats "$file" "ewout@ewy.one:/srv/uwu/$filename" url="https://uwu.ewy.one/$filename" -echo "$url" | wl-copy +echo -n "$url" | wl-copy message="Uploaded $filename to uwu; copied result URL to clipboard." notify-send -a uwuload -i /usr/share/icons/Papirus-Dark/128x128/devices/network-server.svg "$message" diff --git a/.local/bin/uwupass b/.local/bin/uwupass index 348214a..c6ce9e1 100755 --- a/.local/bin/uwupass +++ b/.local/bin/uwupass @@ -60,7 +60,7 @@ target=$(echo "$pass" | eval "$(dbQuery show -s)" -a Password \"$entry\") # Write the password -echo "$target" | wl-copy +echo -n "$target" | wl-copy message "Copied password for $entry to selection buffer." # Copy TOTP ~~to clipboard~~ -- cgit v1.3.1