togglemoveorplace - bakkeby/dusk GitHub Wiki
Function | Expected argument | Default keybinding |
---|---|---|
togglemoveorplace | See placemouse | Super+shift+left click |
The togglemoveorplace
proxy function is a simple mechanism that:
- uses the placemouse function when the client is floating and
- uses the movemouse function when the client is tiled
The default keybinding to trigger this feature is Super+shift+left click
on a client window and
drag.
In practice this is the opposite of the moveorplace function and can be thought of as toggling
floating state and then using placemouse
or movemouse
accordingly.
When combined with the moveorplace
function, as per the default configuration, the user can use
Super+left click
and drag to either:
- move a floating window around the screen or
- change the position of a tiled client
Then when doing the same but also holding the Shift
modifier:
- snap a tiled client out to become floating or
- snap a floating client to become tiled at the position under the mouse cursor
There are no external commands for this function.