… | |
… | |
11 | #:META:RESOURCE:tintColor:color:tint background with color |
11 | #:META:RESOURCE:tintColor:color:tint background with color |
12 | #:META:RESOURCE:sh:number:shade background by number % |
12 | #:META:RESOURCE:sh:number:shade background by number % |
13 | #:META:RESOURCE:shading:number:shade background by number % |
13 | #:META:RESOURCE:shading:number:shade background by number % |
14 | #:META:RESOURCE:blr:HxV:gaussian-blur background with radii |
14 | #:META:RESOURCE:blr:HxV:gaussian-blur background with radii |
15 | #:META:RESOURCE:blurRadius:HxV:gaussian-blur background with radii |
15 | #:META:RESOURCE:blurRadius:HxV:gaussian-blur background with radii |
|
|
16 | #:META:OSC:20:change/query background image |
|
|
17 | #:META:OSC:705:change transparent background tint colour |
16 | |
18 | |
17 | =head1 NAME |
19 | =head1 NAME |
18 | |
20 | |
19 | background - manage terminal background |
21 | background - manage terminal background |
20 | |
22 | |
… | |
… | |
1345 | die "background-expr: expected image(s), got something else.\n" |
1347 | die "background-expr: expected image(s), got something else.\n" |
1346 | if grep { !UNIVERSAL::isa $_, "urxvt::img" } @img; |
1348 | if grep { !UNIVERSAL::isa $_, "urxvt::img" } @img; |
1347 | |
1349 | |
1348 | my $img = urxvt::bgdsl::merge @img; |
1350 | my $img = urxvt::bgdsl::merge @img; |
1349 | |
1351 | |
1350 | $frame->[FR_AGAIN]{size} = 1 |
1352 | $frame->[urxvt::bgdsl::FR_AGAIN]{size} = 1 |
1351 | if $img->repeat_mode != urxvt::RepeatNormal; |
1353 | if $img->repeat_mode != urxvt::RepeatNormal; |
1352 | |
1354 | |
1353 | # if the expression is sensitive to external events, prepare reevaluation then |
1355 | # if the expression is sensitive to external events, prepare reevaluation then |
1354 | $self->compile_frame ($frame, sub { $arg_self->recalculate }); |
1356 | $self->compile_frame ($frame, sub { $arg_self->recalculate }); |
1355 | |
1357 | |