mirror of
https://github.com/balkian/dotfiles.git
synced 2024-10-31 19:01:42 +00:00
7bbcb17419
* Tmux is not started by default anymore * Added functions for i3 - Awesome!! * zsh to start tmux
10 lines
239 B
Perl
10 lines
239 B
Perl
#! /usr/bin/perl
|
|
# /usr/lib/urxvt/perl/clipboard
|
|
|
|
sub on_sel_grab {
|
|
my $query=quotemeta $_[0]->selection;
|
|
$query=~ s/\n/\\n/g;
|
|
$query=~ s/\r/\\r/g;
|
|
system( "echo " . $query . " | xsel -i -b -p" );
|
|
}
|