Skip to content

placemouse

Bakkeby edited this page Feb 27, 2024 · 4 revisions
Function Expected argument Default keybinding
placemouse 0, 1 or 2 Super+left click

This placemouse function allows users to change the tiled position of a window using the mouse.

placemouse.gif

This is accessible through Super+left click then hold and drag to move the window into the position you want. Moving windows across workspaces / monitors is also supported.

Optionally the client being moved can have a different transparency level, controlled by the placeopacity setting in config.h.

The argument passed to the placemouse function affects how the feature determines which client window to replace and ultimately the use and feel of the operation.

Argument Behaviour
0 The window to replace is determined based on the mouse cursor, as in the mouse cursor must be within the borders of the target window
1 The window to replace is determined by the center point of the window being moved, as in the mid point of the window must be within the borders of the target window
2 The mouse cursor is warped (moved) to the center point of the window being moved, thus behaving like both of the above

Which of the three methods to use is entirely subjective, try them out and see what works best for you.

There are no external commands for this function.

Also see moveorplace.

Back to Functions > Tiled.

Clone this wiki locally