From c70505d7c7b7b48600f273357694b56ccf5d2a15 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Fri, 23 May 2025 11:41:09 +0000 Subject: Initial commit --- dwl-patches/patches/customfloat/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dwl-patches/patches/customfloat/README.md (limited to 'dwl-patches/patches/customfloat/README.md') diff --git a/dwl-patches/patches/customfloat/README.md b/dwl-patches/patches/customfloat/README.md new file mode 100644 index 0000000..9f2bda5 --- /dev/null +++ b/dwl-patches/patches/customfloat/README.md @@ -0,0 +1,24 @@ +### Description +Rules for floating windows support default x, y, width, height. Defaults to the center of the screen and the client size. + +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 + +The variable `center_relative_to_monitor` allows the user to choose whether to center relative to the monitor or relative to the window area. + +
+Explanation of center_relative_to_monitor: +
+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.
+
+
+
+ +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/customfloat) +- [2024-07-09](https://codeberg.org/dwl/dwl-patches/raw/commit/13d96b51b54500dd24544cf3a73c61b7a1414bc6/patches/customfloat/customfloat.patch) +- [2024-04-11](https://codeberg.org/dwl/dwl-patches/raw/commit/98cba933c9f4099202e54f39acbf17e05bde828a/customfloat/customfloat.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/bf098459219e7a473d8edb4c0435aeb6a4b82e38/customfloat/customfloat.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) +- [Stivvo](https://github.com/Stivvo) -- cgit v1.2.3