ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/background
(Generate patch)

Comparing rxvt-unicode/src/perl/background (file contents):
Revision 1.76 by root, Tue Aug 14 23:57:07 2012 UTC vs.
Revision 1.79 by root, Tue Sep 4 22:41:11 2012 UTC

4#:META:X_RESOURCE:%.border:boolean:respect the terminal border 4#:META:X_RESOURCE:%.border:boolean:respect the terminal border
5#:META:X_RESOURCE:%.interval:seconds:minimum time between updates 5#:META:X_RESOURCE:%.interval:seconds:minimum time between updates
6 6
7=head1 NAME 7=head1 NAME
8 8
9 background - manage terminal background 9background - manage terminal background
10 10
11=head1 SYNOPSIS 11=head1 SYNOPSIS
12 12
13 urxvt --background-expr 'background expression' 13 urxvt --background-expr 'background expression'
14 --background-border 14 --background-border
535 535
536 move -TX, -TY, keep { load "mybg.png" } 536 move -TX, -TY, keep { load "mybg.png" }
537 537
538=item TW 538=item TW
539 539
540=item TH
541
540Return the width (C<TW>) and height (C<TH>) of the terminal window (the 542Return the width (C<TW>) and height (C<TH>) of the terminal window (the
541terminal window is the full window by default, and the character area only 543terminal window is the full window by default, and the character area only
542when in border-respect mode). 544when in border-respect mode).
543 545
544Using these functions make your expression sensitive to window resizes. 546Using these functions make your expression sensitive to window resizes.
611Clips an image to the given rectangle. If the rectangle is outside the 613Clips an image to the given rectangle. If the rectangle is outside the
612image area (e.g. when C<$x> or C<$y> are negative) or the rectangle is 614image area (e.g. when C<$x> or C<$y> are negative) or the rectangle is
613larger than the image, then the tiling mode defines how the extra pixels 615larger than the image, then the tiling mode defines how the extra pixels
614will be filled. 616will be filled.
615 617
616If C<$x> an C<$y> are missing, then C<0> is assumed for both. 618If C<$x> and C<$y> are missing, then C<0> is assumed for both.
617 619
618If C<$width> and C<$height> are missing, then the window size will be 620If C<$width> and C<$height> are missing, then the window size will be
619assumed. 621assumed.
620 622
621Example: load an image, blur it, and clip it to the window size to save 623Example: load an image, blur it, and clip it to the window size to save

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines