From 8cbadb61604667b407b53ee1258433994fa4765a Mon Sep 17 00:00:00 2001 From: coasteen Date: Thu, 9 Jul 2026 10:42:28 +0330 Subject: init --- dwl/dwl-patches/patches/movecenter/README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 dwl/dwl-patches/patches/movecenter/README.md (limited to 'dwl/dwl-patches/patches/movecenter/README.md') diff --git a/dwl/dwl-patches/patches/movecenter/README.md b/dwl/dwl-patches/patches/movecenter/README.md new file mode 100755 index 0000000..aff8f7d --- /dev/null +++ b/dwl/dwl-patches/patches/movecenter/README.md @@ -0,0 +1,28 @@ +### Description + +> This patch is no longer being maintained by me [wochap](https://codeberg.org/wochap), since I'm now using a different patch specific to my use case: https://codeberg.org/wochap/dwl/src/branch/v0.6-c/betterfloat/betterfloat-diff.patch. + +This patch provides a keybinding to center the focused floating window. + +Press MODKEY + x to center the focused floating window. + +It does NOT center windows that are not floating. + +The variable `respect_monitor_reserved_area` allows the user to choose whether to center relative to the monitor or relative to the window area. + +
+Explanation of respect_monitor_reserved_area: +
+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.6/movecenter) +- [v0.6](https://codeberg.org/dwl/dwl-patches/raw/commit/b1ca929ee645cd3e175f198e250448b54624acd6/patches/movecenter/movecenter.patch) +- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/commit/187d7f511572457750fcf6e42c99cdc7befe05e7/patches/movecenter/movecenter.patch) + +### Authors +- [wochap](https://codeberg.org/wochap) + -- cgit v1.2.3