Delay to fix race condition when copying clipboards.

This commit is contained in:
Bartek Stalewski 2021-10-08 01:12:56 +02:00
parent 6c50a7b818
commit 7f0db00a5a
3 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
--input < "$SEL"
# something else grabbed the selection. pull it over here:
sleep 0.2
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
--output > "$SEL".new
# see above:

View File

@ -13,6 +13,7 @@ xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
--input < "$SEL"
# something else grabbed the selection. pull it over here:
sleep 0.2
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
--output > "$SEL".new
# see above:

View File

@ -13,6 +13,7 @@ xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
--input < "$SEL"
# something else grabbed the selection. pull it over here:
sleep 0.2
xsel --nodetach --logfile /dev/stdout --"$(basename "`pwd`")" \
--output > "$SEL".new
# see above: