… | |
… | |
95 | respected). In the absence of this option, the display specified by the |
95 | respected). In the absence of this option, the display specified by the |
96 | B<DISPLAY> environment variable is used. |
96 | B<DISPLAY> environment variable is used. |
97 | |
97 | |
98 | =item B<-depth> I<bitdepth> |
98 | =item B<-depth> I<bitdepth> |
99 | |
99 | |
100 | Compile I<frills>: Attempt to find a visual with the given bit depth; |
100 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
101 | resource B<depth>. |
101 | resource B<depth>. |
102 | |
102 | |
103 | =item B<-geometry> I<geom> |
103 | =item B<-geometry> I<geom> |
104 | |
104 | |
105 | Window geometry (B<-g> still respected); resource B<geometry>. |
105 | Window geometry (B<-g> still respected); resource B<geometry>. |
… | |
… | |
114 | |
114 | |
115 | =item B<-ip>|B<+ip> | B<-tr>|B<+tr> |
115 | =item B<-ip>|B<+ip> | B<-tr>|B<+tr> |
116 | |
116 | |
117 | Turn on/off inheriting parent window's pixmap. Alternative form is |
117 | Turn on/off inheriting parent window's pixmap. Alternative form is |
118 | B<-tr>; resource B<inheritPixmap>. |
118 | B<-tr>; resource B<inheritPixmap>. |
|
|
119 | |
|
|
120 | I<Please note that transparency of any kind if completely unsupported by |
|
|
121 | the author. Don't bug him with installation questions!> |
119 | |
122 | |
120 | =item B<-fade> I<number> |
123 | =item B<-fade> I<number> |
121 | |
124 | |
122 | Fade the text by the given percentage when focus is lost. Small values |
125 | Fade the text by the given percentage when focus is lost. Small values |
123 | fade a little only, 100 completely replaces all colours by the fade |
126 | fade a little only, 100 completely replaces all colours by the fade |
124 | colour; resource B<fading>. |
127 | colour; resource B<fading>. |
125 | |
128 | |
126 | =item B<-fadecolor> I<colour> |
129 | =item B<-fadecolor> I<colour> |
127 | |
130 | |
128 | Fade to this colour when fading is used (see B<-fade>). The default colour |
131 | Fade to this colour when fading is used (see B<-fade>). The default colour |
129 | is black. resource B<fadeColor>. |
132 | is opaque black. resource B<fadeColor>. |
130 | |
133 | |
131 | =item B<-tint> I<colour> |
134 | =item B<-tint> I<colour> |
132 | |
135 | |
133 | Tint the transparent background pixmap with the given colour when |
136 | Tint the transparent background pixmap with the given colour when |
134 | transparency is enabled with B<-tr> or B<-ip>. This only works for |
137 | transparency is enabled with B<-tr> or B<-ip>. This only works for |
… | |
… | |
512 | |
515 | |
513 | =over 4 |
516 | =over 4 |
514 | |
517 | |
515 | =item B<depth:> I<bitdepth> |
518 | =item B<depth:> I<bitdepth> |
516 | |
519 | |
517 | Compile I<frills>: Attempt to find a visual with the given bit depth; |
520 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
518 | option B<-depth>. |
521 | option B<-depth>. |
519 | |
522 | |
520 | =item B<geometry:> I<geom> |
523 | =item B<geometry:> I<geom> |
521 | |
524 | |
522 | Create the window with the specified X window geometry [default 80x24]; |
525 | Create the window with the specified X window geometry [default 80x24]; |
… | |
… | |
596 | =item B<inheritPixmap:> I<boolean> |
599 | =item B<inheritPixmap:> I<boolean> |
597 | |
600 | |
598 | B<True>: make the background inherit the parent windows' pixmap, giving |
601 | B<True>: make the background inherit the parent windows' pixmap, giving |
599 | artificial transparency. B<False>: do not inherit the parent windows' |
602 | artificial transparency. B<False>: do not inherit the parent windows' |
600 | pixmap. |
603 | pixmap. |
|
|
604 | |
|
|
605 | I<Please note that transparency of any kind if completely unsupported by |
|
|
606 | the author. Don't bug him with installation questions!> |
601 | |
607 | |
602 | =item B<fading:> I<number> |
608 | =item B<fading:> I<number> |
603 | |
609 | |
604 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
610 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
605 | |
611 | |
… | |
… | |
1340 | It is also possible to specify the colour values of B<foreground>, |
1346 | It is also possible to specify the colour values of B<foreground>, |
1341 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1347 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1342 | a number 0-15, as a convenient shorthand to reference the colour name of |
1348 | a number 0-15, as a convenient shorthand to reference the colour name of |
1343 | color0-color15. |
1349 | color0-color15. |
1344 | |
1350 | |
1345 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1351 | In addition to the colours defined above, @@RXVT_NAME@@ offers an |
1346 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
1352 | additional 72 colours. The first 64 of those (with indices 16 to 79) |
1347 | (recommended, but B<MUST> have 4 digits/component), C<#ARGB>, C<#AARRGGBB> |
1353 | consist of a 4*4*4 RGB colour cube (i.e. I<index = r * 16 + g * 4 + b + |
1348 | and C<#AAAARRRRGGGGBBBB> colour specifications, in addition to the ones |
1354 | 16>), followed by 8 additional shades of gray (with indices 80 to 87). |
1349 | provided by X, where the additional A component specifies alpha (opacity) |
1355 | |
1350 | values (0 is completely transparent and the maximum is opaque). You |
1356 | Together, all those colours implement the 88 colour xterm colours. Only |
1351 | probably need to specify B<"-depth 32">, too, and have the luck that your |
1357 | the first 16 can be changed using resources currently, the rest can only |
1352 | X-server uses ARGB pixel layout, as X is far from just supporting ARGB |
1358 | be changed via command sequences ("escape codes"). |
1353 | visuals out of the box, and rxvt-unicode just fudges around. |
|
|
1354 | |
1359 | |
1355 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1360 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1356 | always swapping the foreground/background colours. This is in contrast to |
1361 | always swapping the foreground/background colours. This is in contrast to |
1357 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1362 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1358 | been specified. For example, |
1363 | been specified. For example, |
… | |
… | |
1363 | |
1368 | |
1364 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1369 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1365 | on White. |
1370 | on White. |
1366 | |
1371 | |
1367 | =back |
1372 | =back |
|
|
1373 | |
|
|
1374 | =head2 ALPHA CHANNEL SUPPORT |
|
|
1375 | |
|
|
1376 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
|
|
1377 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
|
|
1378 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
|
|
1379 | in addition to the ones provided by X, where the additional A component |
|
|
1380 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
|
|
1381 | transparent). You can also prefix any color with C<[a]>, where C<a> is on |
|
|
1382 | to four hex digits specifiying the opacity value. |
|
|
1383 | |
|
|
1384 | You probably need to specify B<"-depth 32">, too, and have the luck that |
|
|
1385 | your X-server uses ARGB pixel layout, as X is far from just supporting |
|
|
1386 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
|
|
1387 | |
|
|
1388 | For example, the following selects an almost completely transparent red |
|
|
1389 | background, and an almost opaque pink foreground: |
|
|
1390 | |
|
|
1391 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/2222 -fg "[e]pink" |
|
|
1392 | |
|
|
1393 | I<Please note that transparency of any kind if completely unsupported by |
|
|
1394 | the author. Don't bug him with installation questions!> |
1368 | |
1395 | |
1369 | =head1 ENVIRONMENT |
1396 | =head1 ENVIRONMENT |
1370 | |
1397 | |
1371 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1398 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1372 | |
1399 | |