… | |
… | |
1378 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1378 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1379 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
1379 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
1380 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
1380 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
1381 | in addition to the ones provided by X, where the additional A component |
1381 | in addition to the ones provided by X, where the additional A component |
1382 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
1382 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
1383 | transparent). You can also prefix any color with C<[a]>, where C<a> is on |
1383 | transparent). You can also prefix any color with C<[percent]>, where |
1384 | to four hex digits specifiying the opacity value. |
1384 | C<percent> is a decimal percentage (0-100) that specifies the opacity of |
|
|
1385 | the color, where C<0> is completely transparent and C<100> is completelxy |
|
|
1386 | opaque. |
1385 | |
1387 | |
1386 | You probably need to specify B<"-depth 32">, too, and have the luck that |
1388 | You probably need to specify B<"-depth 32">, too, and have the luck that |
1387 | your X-server uses ARGB pixel layout, as X is far from just supporting |
1389 | your X-server uses ARGB pixel layout, as X is far from just supporting |
1388 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
1390 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
1389 | |
1391 | |
1390 | For example, the following selects an almost completely transparent red |
1392 | For example, the following selects an almost completely transparent red |
1391 | background, and an almost opaque pink foreground: |
1393 | background, and an almost opaque pink foreground: |
1392 | |
1394 | |
1393 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/2222 -fg "[e]pink" |
1395 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/aaaa -fg "[80]pink" |
1394 | |
1396 | |
1395 | I<Please note that transparency of any kind if completely unsupported by |
1397 | I<Please note that transparency of any kind if completely unsupported by |
1396 | the author. Don't bug him with installation questions!> |
1398 | the author. Don't bug him with installation questions!> |
1397 | |
1399 | |
1398 | =head1 ENVIRONMENT |
1400 | =head1 ENVIRONMENT |