Clipboard monitoring utilities.
This project exports Master
struct that provides simple way to handle clipboard updates.
Example: ```rust fn callback() -> CallbackResult { println!("Clipboard change happened!"); CallbackResult::Next }
fn error_callback(error: io::Error) -> CallbackResult { println!("Error: {}", error); CallbackResult::Next }
fn main() { let _ = Master::new(callback, error_callback).run() } ```
Simple monitor of clipboard content. Following actions are performed: - Add magnet link to default torrent client. - Trim clipboard content
``` USAGE: cp-master [flags]
Starts monitoring Clipboard changes
Flags: -h, --help - Prints this message. -m, --magnet - Starts torrent client when detecting magnet URI. ```