Registry / other / swayipc

swayipc

JSON →
library4.0.0rscratesunverified

A library for controlling the Sway window manager through its IPC interface.

other
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use swayipc::Connection;

Connect to Sway and list workspaces

use swayipc::Connection; fn main() { let mut conn = Connection::new().unwrap(); let workspaces = conn.get_workspaces().unwrap(); println!("Workspaces: {:?}", workspaces); }
Debug
Known footguns
gotchaRequires Sway window manager running.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
25 hits · last 30 days
petalbot
5
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources