From d3cb76ed2af006102a1f776f48d6bf992ff8e439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 31 Dec 2021 20:20:36 +0100 Subject: wl-paste and wl-copy should not add \n to the end of the clipboard. --- vis-clipboard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vis-clipboard b/vis-clipboard index 4efefbb..c5fcc29 100755 --- a/vis-clipboard +++ b/vis-clipboard @@ -91,9 +91,9 @@ vc_wlclipboard_copy() { vc_wlclipboard_paste() { if [ "$sel" = "primary" ]; then - wl-paste --primary -t text + wl-paste --no-newline --primary -t text else - wl-paste -t text + wl-paste --no-newline -t text fi } -- cgit v1.2.3