A desktop application for advanced multi-display window management with state persistence and Windows Snap Layout integration.
The Electron Multi Display Window Manager provides a centralized interface for creating, managing, and organizing multiple windows across multiple displays while maintaining their exact state across application restarts. Features full compatibility with Windows native snap layouts and third-party window management tools.
The main window manager interface showing active windows with detailed state information, alongside a managed window displaying its configuration.
- Multi-window management from single interface
- Persistent window positions, sizes, and properties
- Windows Snap Layout integration
- Third-party snap tool support (StickySnap, PowerToys)
- Multi-display positioning
- Z-order and focus management
- Real-time window monitoring
- Node.js v14+
- Windows 10/11 (recommended)
git clone <your-repo-url>
cd electron-multi-display-window-manager
npm install
npm start
- Launch the application
- Create windows with custom titlesc
- Use Windows Snap Layouts or third-party tools normally
- Window positions and sizes are automatically saved
- Windows restore to exact positions on restart
main.js
- Application controller and IPC communicationwindow-manager.js
- Window management engine with snap detectionpreload.js
- Secure IPC bridgeindex.html
- Management interfacewindow.html
- Managed window template
- Dual storage system (window-state + window-registry)
- Advanced snap detection for Windows and third-party tools
- Multi-display intelligence with display-relative positioning
- Unified event handling and debounced saving
The application uses electron-store
for persistent storage:
- Window states: positions, sizes, display information
- Window registry: metadata and relationships
- Automatic cleanup of orphaned states
Window positioning issues: Check display configuration and snap tool compatibility Multi-monitor problems: Verify display IDs in console output Snap state conflicts: Ensure Windows Snap Layouts are enabled
Debug information available through built-in console logging.
- Electron ^29.4.6
- electron-store ^8.2.0
npm start # Start application
npm install <pkg> # Add dependencies
MIT License
Optimized for Windows environments with professional window management requirements. Advanced snap detection and third-party tool integration are Windows-specific. Basic functionality works on all platforms.
Performance: <2s startup, <500ms window restoration, ~50MB base memory usage.