aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-08-21 19:21:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-08-21 19:21:40 -0300
commit46a0dc019b1e80a524d183168e47048b253348fe (patch)
tree855621dda756a473afdb6b4234e17caef3a6c1e4 /lib
parentd11d0f05759118f1564f2fe9052551010a707b21 (diff)
downloadkeyringer-46a0dc019b1e80a524d183168e47048b253348fe.tar.gz
keyringer-46a0dc019b1e80a524d183168e47048b253348fe.tar.bz2
Fix(xclip): avoid 'Error: target STRING not available' (3)
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 0e36dae..d1d85b5 100755
--- a/lib/keyringer/actions/xclip
+++ b/lib/keyringer/actions/xclip
@@ -42,7 +42,7 @@ clip() {
# so we axe it here:
qdbus org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory &>/dev/null
- echo "$before" | base64 -d | $xclip
+ echo "$before" | base64 -d | $xclip 2> /dev/null
) & disown
echo "Copied $2 to clipboard. Will clear in 45 seconds."
}