summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-07-15 12:46:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-07-15 12:46:50 -0300
commita3c913dec62cb098b3234bfaec22492ba8979119 (patch)
tree745af5187e82edcc654e0cf80fabbf5e9e4a58a5 /lib
parent23bc11277cbb1e2f9a06ab357ac20106c9965b90 (diff)
downloadkeyringer-a3c913dec62cb098b3234bfaec22492ba8979119.tar.gz
keyringer-a3c913dec62cb098b3234bfaec22492ba8979119.tar.bz2
Fix(xclip): avoid 'Error: target STRING not available' (2)
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/actions/xclip2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/actions/xclip b/lib/keyringer/actions/xclip
index f63fdb5..0e36dae 100755
--- a/lib/keyringer/actions/xclip
+++ b/lib/keyringer/actions/xclip
@@ -20,7 +20,7 @@ clip() {
# Avoid "Error: target STRING not available"
# https://github.com/astrand/xclip/issues/38
- echo "$RANDOM" | $xclip
+ echo "$RANDOM" | $xclip &> /dev/null
# Copy text into clipboard
echo -n "$1" | $xclip