Skip to content

Commit

Permalink
remove CopyQ code
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Apr 15, 2022
1 parent 2c61c10 commit 64466a8
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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]}
Expand Down Expand Up @@ -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 ""
;;
Expand Down

0 comments on commit 64466a8

Please sign in to comment.