@vicinae/api
    Preparing search index...

    Type Alias Window

    A window as defined by the windowing system in use. A window can be optionally tied to an application or a workspace.

    type Window = {
        active: boolean;
        application?: Application;
        bounds: {
            position: { x: number; y: number };
            size: { height: number; width: number };
        };
        focus: () => Promise<boolean>;
        id: string;
        title: string;
        workspaceId?: string;
    }
    Index

    Properties

    active: boolean

    Whether this window is currently active. This is usually the window that currently owns focus.

    application?: Application

    The application this window belongs to, if any.

    bounds: {
        position: { x: number; y: number };
        size: { height: number; width: number };
    }
    focus: () => Promise<boolean>

    Request that the window manager focuses this window.

    id: string
    title: string
    workspaceId?: string

    The ID of the workspace this window belongs to, if applicable in the context of the current window manager.