3 ms·
Klipper (KDE's clipboard tool) lets you set up this sort of thing pretty easily. It can take actions when a certain type of content is copied. So, you can match
by pbhjpbhj 4y ago
Klipper (KDE's clipboard tool) lets you set up this sort of thing pretty easily. It can take actions when a certain type of content is copied. So, you can match on "^http[^?]*" and "echo %0" (you can call any program, builtins are provided for MIME types, so you can, for example, launch a browser when you copy a URL) as the action will allow you to replace the copied URL automatically/on-request.