summaryrefslogtreecommitdiff
path: root/bm
diff options
context:
space:
mode:
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
}
#}}}