From 64466a86b341a69fe7b1911302bae6501e663ca8 Mon Sep 17 00:00:00 2001 From: mviereck Date: Fri, 15 Apr 2022 14:56:23 +0200 Subject: [PATCH] remove CopyQ code --- x11docker | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/x11docker b/x11docker index 80c01d22..d1eec8dc 100755 --- a/x11docker +++ b/x11docker @@ -1864,7 +1864,7 @@ clipexchange() { # $3 selection to use (primary or clipboard) # X credentials look like "DISPLAY=:0 XAUTHORITY=~/.Xauthority" - local Selection Copyq + local Selection Selection="${3:-}" while rocknroll; do @@ -1923,12 +1923,7 @@ Selection[1]=clipboard Selection[2]=primary OtherX[1]=2 OtherX[2]=1 -Copyq[1]=':' -Copyq[2]=':' " -# [ "$Xcontainer" = "yes" ] && echo ' -#command -v copyq && Copyq[2]="copyq select 0" -#' echo ' while rocknroll ; do for S in 1 2; do @@ -1947,9 +1942,6 @@ while rocknroll ; do [ -n "${Clip[$X$S]}" ] && [ "${Clipold[$X$S]}" != "${Clip[$X$S]}" ] && { Clipold[$X$S]="${Clip[$X$S]}" - ## provide multiple TARGETS in container (--xc only). xclip can provide only one. - #[ "${Selection[$S]}" = "clipboard" ] && ${Copyq[$X]} - # send only to clipboard of other X server if it has different content. Important to keep highlighted text selection. [ "${Clip[${OtherX[$X]}$S]}" != "${Clip[$X$S]}" ] && { export ${X2auth[$X]} @@ -4484,9 +4476,6 @@ create_xinitrc() { # create xinitrc: set up X environment, create c --hostdisplay) ;; # already same clipboard *) # synchronizing between different X servers echo "# option '-c, --clipboard': Run clipboard script " - #[ "$Xcontainer" = "yes" ] && { - # echo "copyq &" - #} echo "bash $Clipboardrc" echo "" ;;