altdesktop / i3ipc-python

🐍 An improved Python library to control i3wm and sway.
http://i3ipc-python.readthedocs.io
BSD 3-Clause "New" or "Revised" License
858 stars 108 forks source link

Documentation con floating (bool) should be floating (string) #164

Closed select closed 4 years ago

select commented 4 years ago

https://i3ipc-python.readthedocs.io/en/latest/con.html While the documentation claims that floating is a boolean value for me it returns the strings

Not sure this is due to my i3 version, I just wanted to let you know of this small missmatch that I discovered.

Other that, thanks for the great library, I started writing an auto layouter with it.

acrisci commented 4 years ago

It's not documented, but according to the source, the possible values are "auto_off", "auto_on", "user_off", "user_on".

acrisci commented 4 years ago

Also added Con.is_floating() to get this as a boolean value.