summaryrefslogtreecommitdiff
path: root/bm
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-07-15 20:16:24 -0500
committerzachir <zachir@librem.one>2025-07-15 20:16:24 -0500
commitdf7a9eb10f4929abfaafd723db6a5d334d28b76c (patch)
treef9cc17ade2bced42ecdee957bac4b7cd68f32913 /bm
parent621f6976ba99917d85dc6fc4b6f2da906e835902 (diff)
Remove trailing space of URL in bm
Diffstat (limited to 'bm')
-rwxr-xr-xbm4
1 files changed, 2 insertions, 2 deletions
diff --git a/bm b/bm
index cc095e9..6e5700c 100755
--- a/bm
+++ b/bm
@@ -62,9 +62,9 @@ esac done
clip () {
ARG="$@"
if [ -n "$WAYLAND_DISPLAY" -a -n "$CANCLIPB" ]; then
- echo -n $URL | wl-copy ${ARG%u}
+ echo -n ${URL%% } | wl-copy ${ARG%u}
elif [ -n "$DISPLAY" -a -n "$CANCLIPB" ]; then
- echo -n $URL | xclip -selection clipboard ${ARG%-u}
+ echo -n ${URL%% } | xclip -selection clipboard ${ARG%-u}
fi
}
#}}}