You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: man/picom.1.adoc
+20-2
Original file line number
Diff line number
Diff line change
@@ -515,7 +515,7 @@ animations = ({
515
515
516
516
_decrease-opacity_:: When the opacity of a window is decreased.
517
517
518
-
_geometry_:: When the geometry of a window is changed. (EXPERIMENTAL)
518
+
[[trigger-geometry]]_geometry_:: When the geometry of a window is changed. (EXPERIMENTAL)
519
519
+
520
520
WARNING: The _geometry_ trigger is experimental. Using this means you accept the caveat that geometry animations will also trigger when you manually resize or move a window, like when you drag the window around with your mouse.
521
521
@@ -598,6 +598,24 @@ endif::[]
598
598
599
599
_duration_:: Duration of the animation in seconds.
600
600
--
601
+
+
602
+
_geometry-change_:::
603
+
+
604
+
Animate the geometry (i.e. size and position) change of the window.
605
+
+
606
+
WARNING: This makes use of both the <<trigger-geometry>> trigger, and the <<saved-image-blend>> output variable. Both of these features are experimental and may not work as expected.
607
+
+
608
+
--
609
+
ifdef::env-web[]
610
+
video::assets/geometry-change.mp4[width=400]
611
+
endif::[]
612
+
--
613
+
+
614
+
--
615
+
*Options*:::
616
+
617
+
_duration_:: Duration of the animation in seconds.
618
+
--
601
619
602
620
=== Advanced
603
621
@@ -697,7 +715,7 @@ Currently, these output variables are supported: :::
697
715
698
716
_crop-x_, _crop-y_, _crop-width_, _crop-height_:: These four values combined defines a rectangle on the screen. The window and its shadow will be cropped to this rectangle. If not defined, the window and shadow will not be cropped.
699
717
700
-
_saved-image-blend_:: When the window's geometry changes, its content will often change drastically, creating a jarring discontinuity. This output variable allows you to blend the window's content before and after the geometry change, the before and after images will be stretched appropriately to match the animation. This way you can smoothly animated geometry changes. This is a number between 0 and 1. 0 means the saved image is not used, whereas 1 means you will only see the saved image. (EXPERIMENTAL)
718
+
[[saved-image-blend]]_saved-image-blend_:: When the window's geometry changes, its content will often change drastically, creating a jarring discontinuity. This output variable allows you to blend the window's content before and after the geometry change, the before and after images will be stretched appropriately to match the animation. This way you can smoothly animated geometry changes. This is a number between 0 and 1. 0 means the saved image is not used, whereas 1 means you will only see the saved image. (EXPERIMENTAL)
701
719
+
702
720
WARNING: The _saved-image-blend_ variable is experimental. It might work incorrectly, cause visual artifacts, or slow down your system. You are welcome to open an issue on GitHub if you encounter any problems to help us improve it, though resolution is not guaranteed.
0 commit comments