Floating Layout

The floating workspace layout mode mimics the more common desktop window management paradigm where windows are free ‘floating’ with the user dragging the windows around to match his or her preferences.

Though you can, of course, manage floating mode with the mouse cursor, efforts have been taken to make sure it can be controlled from the keyboard. This is done through a number of menu paths:

With the target/window/move-resize menu path, you get access for controls to:

  • move relative: move(px_x,px_y)
  • move absolute: set(px_x,px_y)
  • resize absolute: set(px_w,px_h)
  • specialized: toggle fullscreen, toggle maximize

The navigation key bindings such as select-switch up/down/left/right are relative to the window position, so the switch is made based on the relative distance between window switching positions.

Durden treats windows in float mode as having a history. This means that if you switch back to float from a different mode, the last known float positions and sizing ratios will be restored (if possible).

The cursor management follows the common pattern of double clicking the titlebar to switch between maximized and normal and click-drag the border to resize.

It is possible to force-enable titlebars only for float layout-mode. This can be done through global/config/workspaces/float-titlebar

Future Changes

The float mode is treated with a lesser priority than the rest, but as the durden development settles and drifts towards maintenance and upkeep, the following features are planned to be added:

  • Draw-to-spawn like in prio
  • Desktop Icons
  • Configurable Minimize Action (to icon, statusbar, …)
  • Definable Drag Regions
  • Input forward to background source when no window is selected
  • Alternative menu access UI (popup- style rather than HUD style)
  • More efficient border-drawing