+++ /dev/null
-#! perl
-
-sub xy {
- my ($self) = @_;
-
- $self->XTranslateCoordinates (
- $self->vt, $self->DefaultRootWindow,
- 0, 0
- )
-}
-
-sub on_osc_seq {
- my ($self, $op, $args) = @_;
-
- if ($op == 20) {
- my ($pic, $commands) = split(/;/, $args, 2);
- if ($pic !~ /^$/ && $commands !~ /[+\-]/) {
- my ($x, $y) = $self->XTranslateCoordinates (
- $self->vt, $self->DefaultRootWindow,
- 0, 0
- );
- my ($x, $y) = $self->xy;
- $self->cmd_parse ("\033]20;$pic;=+$x+$y\007");
- return 1;
- }
- }
-
- ()
-}
-
-sub on_configure_notify {
- my ($self, $event) = @_;
-
- my ($x, $y) = $self->xy;
-
- $self->cmd_parse ("\033]20;;=+$x+$y\007");
-
- ()
-}
Or by adding them to the resource for extensions loaded by default:
- URxvt.perl-ext-common: default,automove-background,selection-autotransform
+ URxvt.perl-ext-common: default,selection-autotransform
=over 4
If you want a quake-like animation, tell your window manager to do so
(fvwm can do it).
-=item automove-background
-
-This is basically a very small extension that dynamically changes the
-background pixmap offset to the window position, in effect creating the
-same effect as pseudo transparency with a custom pixmap. No scaling is
-supported in this mode. Example:
-
- @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background
-
-L<http://wiki.archlinux.org/index.php/Perl_Background_Rotation/Extensions>
-shows how this extension can be used to implement an automatically blurred
-transparent background.
-
=item block-graphics-to-ascii
A not very useful example of filtering all text output to the terminal