diff options
| author | Matěj Cepl <mcepl@cepl.eu> | 2021-12-31 20:20:36 +0100 |
|---|---|---|
| committer | Felix Van der Jeugt <felix.vanderjeugt@posteo.net> | 2022-08-27 23:41:37 +0200 |
| commit | d3cb76ed2af006102a1f776f48d6bf992ff8e439 (patch) | |
| tree | 203519fade2f8a594d075c7386fc87cd81c756b1 /vis-clipboard | |
| parent | 87f8a92009dfe4d7966586dd6501df2914d942bb (diff) | |
| download | vis-d3cb76ed2af006102a1f776f48d6bf992ff8e439.tar.gz vis-d3cb76ed2af006102a1f776f48d6bf992ff8e439.tar.xz | |
wl-paste and wl-copy should not add \n to the end of the clipboard.
Diffstat (limited to 'vis-clipboard')
| -rwxr-xr-x | vis-clipboard | 4 |
1 files 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 } |
