tmerr / i3ipc-rs

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

Exposed window_properties so the class information can be queried #37

Closed sdfgeoff closed 5 years ago

sdfgeoff commented 5 years ago

When you query the tree with I3Connection::get_tree(), you get access to most of the information about the nodes. However, you currently don't get access to the "window_properties" map. This map contains information such as the "class" of the window.

This PR Exposes the window_properties as a std::HashMap<String, String>.

sdfgeoff commented 5 years ago

Aannndd, I just noticed #33 . His implementation is better in every way