mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
You can now watch the clipboard for changes and run a command each time the clipboard contents change like this: $ paste --watch some command here The command will be spawned each time the clipboard contents change. It can read the clipboard contents from its stdin, and CLIPBOARD_STATE environment variable will be set to "data" if there is data to be read, or to "nil"/"clear" if the clipboard has been cleared.
3.0 KiB
3.0 KiB