tmerr / i3ipc-rs

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

Add support for the output fields in sway 1.1 #47

Closed Emantor closed 4 years ago

Emantor commented 5 years ago

This implements a new feature sway-1-1 and parsing of the output fields supported by sway.

tmerr commented 4 years ago

Thans for this. OOC, what does sway consider its "source of truth" for the ipc interface? Do they maintain an equivalent to https://i3wm.org/docs/ipc.html?

Emantor commented 4 years ago

I guess for sway this would be https://github.com/swaywm/sway/blob/master/sway/sway-ipc.7.scd, I linked to the master version. IIRC I have some more changes locally which should be added to this PR, marking as WIP for now.

tmerr commented 4 years ago

Great, is this ready to merge? Changes LGTM

Emantor commented 4 years ago

Yip, should be good to go.