summaryrefslogtreecommitdiff
path: root/st-urlhandler
diff options
context:
space:
mode:
authorLM-LCL <hello@exaltedelite.club>2023-09-01 16:08:11 +0200
committerLM-LCL <hello@exaltedelite.club>2023-09-01 16:08:11 +0200
commit6a74dabb89e9159968b44f6378f474e27f8ac095 (patch)
tree2c063862177131c4c19f84fff22336e64b8a222e /st-urlhandler
parent1bf4a5f5aa49a28022eef0df0b53106c7be2971d (diff)
externalpipe scripts update
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