4 # URxvt.perl-ext-common: clipboard
5 # URxvt.keysym.Mod4-c: perl:clipboard:copy
6 # URxvt.keysym.Mod4-v: perl:clipboard:paste
8 # consult command "xmodmap" to see what your modifier mapped into.
12 my $pid = open( pout
, "| xsel -ib" ) or die "fork";
13 print pout
$self->selection;
14 close(pout
) or die "close";
19 my $content = `xsel -ob` ;
20 $self->tt_write ($content);
24 my ($self, $cmd) = @_;
25 if ($cmd eq "clipboard:copy") {
28 if ($cmd eq "clipboard:paste") {