aboutsummaryrefslogtreecommitdiff
path: root/urxvt/ext
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-19 11:30:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-19 11:30:39 +1200
commite33a0f648b65ad9ad09980485e26403f39a90fb5 (patch)
treeefd77e3686ab277bdded770afa1ae3c29a80fca8 /urxvt/ext
parentb5e7711e0898227a9f37ce37f90251038bb654e3 (diff)
downloaddotfiles-e33a0f648b65ad9ad09980485e26403f39a90fb5.tar.gz
dotfiles-e33a0f648b65ad9ad09980485e26403f39a90fb5.zip
Add some perlish niceties
Diffstat (limited to 'urxvt/ext')
-rw-r--r--urxvt/ext/selection14
1 files changed, 14 insertions, 0 deletions
diff --git a/urxvt/ext/selection b/urxvt/ext/selection
index c8c37926..1fdcc575 100644
--- a/urxvt/ext/selection
+++ b/urxvt/ext/selection
@@ -1,5 +1,19 @@
#!/usr/bin/env perl
+# Stripped down and tidied version of original URxvt
+# "selection" script that just observes cutchars in a
+# locale-aware fashion.
+
+use strict;
+use warnings;
+use utf8;
+
+use 5.006;
+
+use Carp;
+
+our $VERSION = 1.0;
+
sub on_init {
my ($self) = @_;