altdesktop / i3ipc-python

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

Add floating-single.py #163

Closed ihebu closed 3 years ago

ihebu commented 4 years ago

Hey, I think this script might be useful since it solves a problem I had

It allows the user to open a window with a certain class name in floating mode if there are two or more windows in the workspace, everything is set back to tiling mode