mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-08 12:14:50 +00:00

Eliminated wiki. Individual patches have a README.md explanation in their own subdirectory. Simplified submission of new patches and maintenance of existing patches. Instructions page (README.md autodisplayed) is now at https://codeberg.org/dwl/dwl-patches/
916 B
916 B
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.![]()