This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 281
movecenter
Gean Marroquin edited this page Sep 12, 2023
·
3 revisions
This patch provides a keybinding to center focused windows.
Press MODKEY + x to center the focused floating window.
It does NOT uncenter the window back to its previous location. 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.
- alphafocus
- alwayscenter
- attachabove
- attachbottom
- attachtop
- autorotation
- autostart
- bottomstack
- center
- centeredmaster
- centerterminal
- cfacts
- chainkeys
- clientopacity
- clipboardipc
- clipboardManager
- column layout
- cursortheme
- cursorwarp
- customfloat
- cyclelayouts
- deck
- dragmfact
- drm-lease-manager
- en-keycodes
- env
- fallback
- fibonacci
- floatBorderColor
- focusmaster
- focusMonPointer
- gaplessgrid
- genericgaps
- gestures
- gridmode
- hideBehindFullscreen
- hidecursor
- ipc
- kblayout
- kbrules
- keyboardshortcutsinhibit
- keychord
- keycodes
- keymap
- lockedkeys
- masterOnRight
- menu
- modes
- monitorconfig
- movestack
- movecenter
- moveresizekb
- move-stack-top
- namedscratchpads
- naturalscrolltrackpad
- nomousefocus
- numlock
- onlyquitonempty
- outputPowerManagement
- pertag
- pointerConstraints
- pointerGesturesUnstableV1
- primary-sel-off
- privilegeDrop
- push
- regexrules
- regions
- restartdwl
- restoretiling
- right
- rotatetags
- shiftview
- singletagset
- simplegaps
- smartborders
- snail
- sticky
- stickyrule
- swallow
- swaycompat
- sway-pointer-constraints
- swapandfocusdir
- switchtotag
- title-change-urgent
- toggleKbLayout
- toggleLayoutImmediately
- touchscreen
- unclutter
- uselessgaps
- vanitygaps
- vertile
- virtualpointer
- xcursor
- XF86keysym
- zoomswap