tmerr / i3ipc-rs

A Rust library for controlling i3-wm through its IPC interface
MIT License
107 stars 33 forks source link

Add Option<pid> field to Node #46

Open cjbassi opened 5 years ago

cjbassi commented 5 years ago

Con and FloatingCon nodes in Swaywm have a pid field specifying the PID of the program running in the container.

edit: PID field added to Sway in this PR: https://github.com/swaywm/sway/pull/2676

Emantor commented 4 years ago

This should be behind the #[cfg(feature = "sway-1-1")] feature guard as the recently added output parsing support.

cjbassi commented 4 years ago

Fixed per @Emantor's suggestions.

sanga commented 4 years ago

Any chance of getting this in @tmerr ?