Delay to fix race condition when copying clipboards.
This commit is contained in:
parent
6c50a7b818
commit
7f0db00a5a
3 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,7 @@ xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
||||||
--input < "$SEL"
|
--input < "$SEL"
|
||||||
|
|
||||||
# something else grabbed the selection. pull it over here:
|
# something else grabbed the selection. pull it over here:
|
||||||
|
sleep 0.2
|
||||||
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
||||||
--output > "$SEL".new
|
--output > "$SEL".new
|
||||||
# see above:
|
# see above:
|
||||||
|
|
|
@ -13,6 +13,7 @@ xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
||||||
--input < "$SEL"
|
--input < "$SEL"
|
||||||
|
|
||||||
# something else grabbed the selection. pull it over here:
|
# something else grabbed the selection. pull it over here:
|
||||||
|
sleep 0.2
|
||||||
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
||||||
--output > "$SEL".new
|
--output > "$SEL".new
|
||||||
# see above:
|
# see above:
|
||||||
|
|
|
@ -13,6 +13,7 @@ xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
||||||
--input < "$SEL"
|
--input < "$SEL"
|
||||||
|
|
||||||
# something else grabbed the selection. pull it over here:
|
# something else grabbed the selection. pull it over here:
|
||||||
|
sleep 0.2
|
||||||
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
|
||||||
--output > "$SEL".new
|
--output > "$SEL".new
|
||||||
# see above:
|
# see above:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue