[fixup] add docs

This commit is contained in:
tokyo4j 2024-04-04 03:15:19 +09:00
parent ce18d07ecf
commit 639e1c6cfa
2 changed files with 12 additions and 0 deletions

View file

@ -299,6 +299,15 @@ extending outward from the snapped edge.
SnapToEdge action for that edge. A *range* of 0 disables snapping via
interactive moves. Default is 1.
*<snapping><previewDelay edgeType="">*
Set the delay to show a preview when snapping a window to an edge.
Default is 500 ms.
The *edgeType* attribute is optional and specifies the position of edges
to apply the delay. This can be either of:
- *interior* - Edges with an adjacent output
- *exterior* - Edges without an adjacent output
*<snapping><topMaximize>* [yes|no]
If *yes*, an interactive move that snaps a window to the top edge will
maximize the window. If *no*, snapping will behave as it does with other

View file

@ -99,6 +99,9 @@
<snapping>
<!-- Set range to 0 to disable window snapping completely -->
<range>1</range>
<!-- edgeType is optional -->
<previewDelay edgeType="interior">500</previewDelay>
<previewDelay edgeType="exterior">500</previewDelay>
<topMaximize>yes</topMaximize>
<notifyClient>always</notifyClient>
</snapping>