tmerr / i3ipc-rs

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

Tree iteration helpers #38

Open tmerr opened 5 years ago

tmerr commented 5 years ago

A Node.find_focused function would be nice. I wrote out an example in https://github.com/tmerr/i3ipc-rs/issues/29 but we have to remember to check floating_nodes too.

An iterator across the entire tree might be helpful as well.