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.103 by root, Fri Nov 26 18:49:48 2021 UTC vs.
Revision 1.104 by root, Sat Dec 4 22:56:49 2021 UTC

56is behind the text, replacing the normal background colour. 56is behind the text, replacing the normal background colour.
57 57
58It does so by evaluating a Perl expression that I<calculates> the image on 58It does so by evaluating a Perl expression that I<calculates> the image on
59the fly, for example, by grabbing the root background or loading a file. 59the fly, for example, by grabbing the root background or loading a file.
60 60
61While the full power of Perl is available, the operators have been design 61While the full power of Perl is available, the operators have been
62to be as simple as possible. 62designed to be as simple as possible.
63 63
64For example, to load an image and scale it to the window size, you would 64For example, to load an image and scale it to the window size, you would
65use: 65use:
66 66
67 urxvt --background-expr 'scale keep { load "/path/to/mybg.png" }' 67 urxvt --background-expr 'scale keep { load "/path/to/mybg.png" }'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines