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
num: i32
The logical number of the workspace. Corresponds to the command to switch to this workspace. For named workspaces, this will be -1.
name: String
The name of this workspace (by default num+1), as changed by the user.
visible: bool
Whether this workspace is currently visible on an output (multiple workspaces can be visible at the same time).
focused: bool
Whether this workspace currently has the focus (only one workspace can have the focus at the same time).
urgent: bool
Whether a window on this workspace has the "urgent" flag set.
rect: (i32, i32, i32, i32)
The rectangle of this workspace (equals the rect of the output it is on), consists of x, y, width, height.
output: String
The video output this workspace is on (LVDS1, VGA1, …).