diff options
Diffstat (limited to 'bm')
-rwxr-xr-x | bm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } #}}} |