Struct i3ipc::reply::Workspace [] [src]

pub struct Workspace {
    pub num: i32,
    pub name: String,
    pub visible: bool,
    pub focused: bool,
    pub urgent: bool,
    pub rect: (i32, i32, i32, i32),
    pub output: String,
}

A single workspace.

Fields

The logical number of the workspace. Corresponds to the command to switch to this workspace. For named workspaces, this will be -1.

The name of this workspace (by default num+1), as changed by the user.

Whether this workspace is currently visible on an output (multiple workspaces can be visible at the same time).

Whether this workspace currently has the focus (only one workspace can have the focus at the same time).

Whether a window on this workspace has the "urgent" flag set.

The rectangle of this workspace (equals the rect of the output it is on), consists of x, y, width, height.

The video output this workspace is on (LVDS1, VGA1, …).

Trait Implementations

impl Debug for Workspace
[src]

[src]

Formats the value using the given formatter.