Creates a new Window widget as a Wayland layer shell surface.
const window = newWindow({ name: 'my-bar', anchor: ['top', 'left', 'right'], exclusivity: 'exclusive', layer: 'top', child: Widget.Box({ children: [...] }),}); Copy
const window = newWindow({ name: 'my-bar', anchor: ['top', 'left', 'right'], exclusivity: 'exclusive', layer: 'top', child: Widget.Box({ children: [...] }),});
Creates a new Window widget as a Wayland layer shell surface.