Is there a way to write a script that would be applied to the clipboard content ( I'm using Linux\Gentoo)?
When copy-pasting it would be nice to bind a keystroke that would (e.g -) remove all line breaks from the copied text.
I couldn't find where to start such a task (where should such a script be placed\how to reference the clipboard) so just a hint of where to start would be appreciated.
Thanks!