Windows — Tiling Window Manager [portable]
twm = TilingWindowManager()
Run glazewm → now Win+Alt+Return opens a terminal tiled automatically. windows tiling window manager
# Simple Layout Logic # For N windows, split the screen into N columns for simplicity in this prototype. # A true BSP tree would allow vertical/horizontal splits based on user input. windows tiling window manager
class Window: """Wrapper for a Windows GUI window.""" def __init__(self, hwnd): self.hwnd = hwnd self.visible = True self.update_meta() windows tiling window manager
commands: - name: "layout horizontal" command: "applyLayout horizontal" - name: "layout columns" command: "applyLayout columns @ 50% 50%"
Unlike Linux (i3, Hyprland, Sway), Windows doesn’t natively do dynamic tiling. But with third-party tools, you can get automatic window resizing/snapping without mouse dragging. Benefits: