summaryrefslogtreecommitdiff
path: root/.urxvt
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-02-17 23:15:08 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-02-17 23:15:08 +0100
commitfb3dc5ec44ca5808380fee2f57cebd3acc018451 (patch)
tree6418c24ce9d951917e6f8cec95c1d5020a085310 /.urxvt
parent131bfa071a3da165de448cad8adb5569067fbcba (diff)
downloaddotfiles-fb3dc5ec44ca5808380fee2f57cebd3acc018451.tar.gz
dotfiles-fb3dc5ec44ca5808380fee2f57cebd3acc018451.tar.bz2
dotfiles-fb3dc5ec44ca5808380fee2f57cebd3acc018451.zip
Remove urxvt wgetpaste extension
Diffstat (limited to '.urxvt')
-rw-r--r--.urxvt/extensions/wgetpaste29
1 files changed, 0 insertions, 29 deletions
diff --git a/.urxvt/extensions/wgetpaste b/.urxvt/extensions/wgetpaste
deleted file mode 100644
index 1f81f54..0000000
--- a/.urxvt/extensions/wgetpaste
+++ /dev/null
@@ -1,29 +0,0 @@
-#! perl -w
-
-# Adds an entry to the selection popup allowing to move the current selection
-# to a pastebin via wgetpaste.
-
-use IPC::Open2;
-
-sub on_start {
- my ($self) = @_;
-
- push @{ $self->{term}{selection_popup_hook} }, sub {
- `which wgetpaste 2> /dev/null`
- ? ("Pastebin" => \&wgetpaste)
- : ()
- };
-
- return ()
-}
-
-sub wgetpaste {
- my ($pout, $pin);
-
- my $pid = open2($pout, $pin, 'wgetpaste');
- print $pin $_;
- close $pin;
-
- # selection-popup expects the final text in $_
- ($_ = <$pout>) =~ s/^.*?://;
-}