mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-10 05:04:51 +00:00
27 lines
1.0 KiB
Markdown
27 lines
1.0 KiB
Markdown
### Description
|
|
All floating windows are centered, like the center patch, but without a rule.
|
|
|
|
|
|
### Changelog
|
|
|
|
2023-11-24:
|
|
- 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>
|
|
<summary>Explanation of center_relative_to_monitor:</summary>
|
|
<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.
|
|
<img src="https://i.imgur.com/xhejzPh.png"/>
|
|
</pre>
|
|
</details>
|
|
|
|
### Download
|
|
- [2023-11-24](https://github.com/djpohly/dwl/compare/main...wochap:alwayscenter.patch)
|
|
- [2023-09-02](https://github.com/djpohly/dwl/compare/main...mortezadadgar:alwayscenter.patch)
|
|
- [v0.4](https://github.com/djpohly/dwl/compare/main...dm1tz:04-alwayscenter.patch)
|
|
- [2021-04-17](https://github.com/djpohly/dwl/compare/main...guidocella:alwayscenter.patch)
|
|
|
|
### Authors
|
|
- [Guido Cella](https://github.com/guidocell)
|
|
- [wochap](https://github.com/wochap) |