diff --git a/movecenter.md b/movecenter.md new file mode 100644 index 0000000..daa9eda --- /dev/null +++ b/movecenter.md @@ -0,0 +1,24 @@ +### Description +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 `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/movecenter) +- [2024-03-12](https://codeberg.org/dwl/dwl-patches/raw/branch/main/movecenter/movecenter.patch) + +### Authors +- [wochap](https://codeberg.org/wochap)