Struct i3ipc::I3Connection [] [src]

pub struct I3Connection { /* fields omitted */ }

Abstraction over an ipc socket to i3. Handles messages/replies.

Methods

impl I3Connection
[src]

Establishes the IPC connection.

The payload of the message is a command for i3 (like the commands you can bind to keys in the configuration file) and will be executed directly after receiving it.

Gets the current workspaces.

Gets the current outputs.

Gets the layout tree. i3 uses a tree as data structure which includes every container.

Gets a list of marks (identifiers for containers to easily jump to them later).

Gets an array with all configured bar IDs.

Gets the configuration of the workspace bar with the given ID.

Gets the version of i3. The reply will include the major, minor, patch and human-readable version.

Trait Implementations

impl Debug for I3Connection
[src]

Formats the value using the given formatter.