summaryrefslogtreecommitdiff
path: root/st-urlhandler
diff options
context:
space:
mode:
Diffstat (limited to 'st-urlhandler')
-rwxr-xr-xst-urlhandler4
1 files changed, 2 insertions, 2 deletions
diff --git a/st-urlhandler b/st-urlhandler
index 1ed2b23..d6deecf 100755
--- a/st-urlhandler
+++ b/st-urlhandler
@@ -7,5 +7,5 @@ urls="$(sed 's/.*│//g' | tr -d '\n' \
| uniq \
| sed "s/\(\.\|,\|;\|\!\\|\?\)$//;s/^www./http:\/\/www\./")"
-[ ! -z "$urls" ] && echo "$urls" | dmenu -i -l 15 -p 'Select URL' \
- | xclip -r -sel c
+[ ! -z "$urls" ] && printf '%s' "$urls" | dmenu -i -l 15 -p 'Select URL' \
+ | xclip -r -sel c