ICCCM says it is possible to exchange PRIMARY and SECONDARY selections without copying to a third selection by using target side-effects. We should implement. The solution we offer right now is rather ugly:
$ xclip -sel s | xclip -sel b
$ xclip | xclip -sel s
$ xclip -sel b | xclip
ICCCM says it is possible to exchange PRIMARY and SECONDARY selections without copying to a third selection by using target side-effects. We should implement. The solution we offer right now is rather ugly:
It'd be better to have: