aboutsummaryrefslogtreecommitdiff
path: root/urxvt/clip
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-04-26 23:18:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2014-04-26 23:18:44 +1200
commite38108db214727499bd59ec02aa06c5f08668392 (patch)
tree065c1314aa1debdf4debee60823ed5e57a1307e4 /urxvt/clip
parentAdd tmux vertical separator to URxvt.cutchars (diff)
downloaddotfiles-e38108db214727499bd59ec02aa06c5f08668392.tar.gz
dotfiles-e38108db214727499bd59ec02aa06c5f08668392.zip
Remove Urxvt.perl-lib definition
I didn't read the manpage. It turns out that urxvt will search $HOME/.urxvt/ext by default for its extensions, so I don't need to specify a path here (much less a fixed string rather than a variable).
Diffstat (limited to 'urxvt/clip')
-rw-r--r--urxvt/clip22
1 files changed, 0 insertions, 22 deletions
diff --git a/urxvt/clip b/urxvt/clip
deleted file mode 100644
index ce698328..00000000
--- a/urxvt/clip
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env perl
-
-# Copy PRIMARY selections to the clipboard too with xsel(1).
-
-use strict;
-use warnings;
-
-sub on_start {
- my ($self) = @_;
- $self->enable( sel_grab => \&clip );
- return;
-}
-
-sub clip {
- my ($self) = @_;
- if ( open CLIPBOARD, '| xsel -ib' ) {
- print CLIPBOARD $self->selection();
- close CLIPBOARD;
- }
- return;
-}
-