From: Silvio Rhatto Date: Sun, 21 Aug 2022 22:21:40 +0000 (-0300) Subject: Fix(xclip): avoid 'Error: target STRING not available' (3) X-Git-Tag: 0.5.9~3 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=46a0dc019b1e80a524d183168e47048b253348fe;p=keyringer.git Fix(xclip): avoid 'Error: target STRING not available' (3) --- 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." }