Updated customfloat (markdown)

Gean Marroquin 2023-11-24 10:51:08 -05:00
parent 0ddd8b3657
commit d7f441a4be

@ -8,13 +8,14 @@ Rules for floating windows support default x, y, width, height. Defaults to the
- If the width or height is less than or equal to 1, then the value will be interpreted as a percentage. For example, 0.5 represents 50%, 0.25 represents 25%, and 1 represents 100%. **NOTE**: Some clients, like Thunar, have minimum width/height - If the width or height is less than or equal to 1, then the value will be interpreted as a percentage. For example, 0.5 represents 50%, 0.25 represents 25%, and 1 represents 100%. **NOTE**: Some clients, like Thunar, have minimum width/height
- A variable `center_relative_to_monitor` has been added, allowing the user to choose whether to center relative to the monitor or relative to the window area. - A variable `center_relative_to_monitor` has been added, allowing the user to choose whether to center relative to the monitor or relative to the window area.
<details> <details>
<summary>Explanation of center_relative_to_monitor:</summary> <summary>Explanation of center_relative_to_monitor:</summary>
<pre> <pre>
The "Monitor area" refers to the space enclosed by the green rectangle, while the "Window area" refers to the space enclosed by the red rectangle. The "Monitor area" refers to the space enclosed by the green rectangle, while the "Window area" refers to the space enclosed by the red
<img src="https://i.imgur.com/xhejzPh.png"/> rectangle.
</pre> <img src="https://i.imgur.com/xhejzPh.png"/>
</details> </pre>
</details>
### Download ### Download
- [2023-09-11](https://github.com/djpohly/dwl/compare/main...wochap:customfloat.patch) - [2023-09-11](https://github.com/djpohly/dwl/compare/main...wochap:customfloat.patch)