Save Floats - bakkeby/dusk GitHub Wiki

This window manager supports the saving of the size and position of floating windows.

The floating size and position are stored automatically when:

  • when the client window is moved using the mouse (movemouse)
  • when the client window is resized using the mouse (resizemouse)
  • the client is moved from one monitor to another
  • when the client window is maximized horizontally, vertically, or both

The floating size and position are restored automatically:

  • whenever a tiled client becomes floating and
  • when the layout changes from tiled to floating

Additional features:

  • float size and positions are recorded on a per monitor basis
  • float size and positions are persisted across restarts
  • float size and positions are relative to the workspace window area

As for the latter it means that in dawn the saved float positions are the exact locations on the monitor (as you'd expect) whereas in dusk the saved float positions are relative to the space available to the workspace. The difference is only noticeable when you view two workspaces at once and all the floating windows are positioned within their respective workspace.

save_floats.gif


Back to Floating.

⚠️ **GitHub.com Fallback** ⚠️