summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-09 14:41:46 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-09 14:43:04 +0100
commit0c1fe57057501f127d94855620fc85716ff56215 (patch)
tree3887a308d52329ba63e3fa6dcb77bfd2ce92ace6
parentcf2b383f0cba9fb2a84bbe5fabf3da454f8dc2d5 (diff)
add blurred filter for album art when paused
-rw-r--r--data/themes/default.edc24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 29facce..f2aa99b 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -489,6 +489,30 @@ collections {
489 target: "art_clip3"; 489 target: "art_clip3";
490 } 490 }
491 491
492 snapshot { "art_filter";
493 clip_to: "art_clip";
494 desc { state: "default" 0.0;
495 rel.to: "art_clip";
496 filter.code: "padding_set { 0 } blur { state.pos * 50, color = '#ffff' }";
497 visible: 0;
498 }
499 desc { state: "visible" 0.0;
500 inherit: "default" 0.0;
501 filter.code: "padding_set { 0 } blur { (1.0 - state.pos) * 50, color = '#ffff' }";
502 visible: 1;
503 }
504 }
505 program { signal: "action,play"; source: "rage";
506 action: STATE_SET "default" 0.0;
507 transition: SINUSOIDAL 0.2;
508 target: "art_filter";
509 }
510 program { signal: "action,pause"; source: "rage";
511 action: STATE_SET "visible" 0.0;
512 transition: SINUSOIDAL 0.4;
513 target: "art_filter";
514 }
515
492 part { name: "rage.gesture"; type: SWALLOW; 516 part { name: "rage.gesture"; type: SWALLOW;
493 description { state: "default" 0.0; 517 description { state: "default" 0.0;
494 rel2.to_y: "controlbar"; 518 rel2.to_y: "controlbar";