Skip to content

Commit

Permalink
vis-clipboard: redirect wl-copy stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
fischerling committed Sep 7, 2024
1 parent d3772d7 commit 40abd04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vis-clipboard
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ vc_paste() {

vc_wlclipboard_copy() {
if [ "$sel" = "primary" ]; then
wl-copy --primary -t TEXT
wl-copy --primary -t TEXT 2>/dev/null
else
wl-copy -t TEXT
wl-copy -t TEXT 2>/dev/null
fi
}

Expand Down

0 comments on commit 40abd04

Please sign in to comment.