Skip to content
Menu

Features

Mouse

Drag edges to resize tiles, swap tiles, and move or resize any window with a modifier key.

  • Drag an edge or corner of a tiled window. When you let go, wm moves the dividers you moved, and the neighbours follow.
  • Drag a tiled window by its title bar and drop it on another tile of the same workspace. The two windows swap places. A drop anywhere else sends the window back to its tile.
  • wm swap <dir> does the swap from the keyboard.
  • With mouse = { move_modifier = "alt", resize_modifier = "alt" }, hold the modifier and drag anywhere in a window (no title bar needed). The left button moves the window, and the right button resizes it from the corner that is nearest to the pointer. A floating window follows the pointer. A tiled window that you move swaps places with the tile that you drop it on (anywhere else it goes back), and the resize of a tiled window moves the dividers like the edge drag above. wm swallows these clicks, so the app never sees them. Both are off until you set them, because Option-click means something in Finder and in many editors. The modifiers are chord text: alt, alt+shift, ctrl+alt, and so on.