How to use the qtile.test.conftest.qtile.c.layout.info function in qtile

To help you get started, we’ve selected a few qtile examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github numirias / qtile-plasma / tests / test_layout.py View on Github external
def tree(qtile):
    return qtile.c.layout.info()['tree']
github numirias / qtile-plasma / tests / test_layout.py View on Github external
def test_info(self, qtile):
        qtile.test_window('a')
        qtile.test_window('b')
        assert qtile.c.layout.info()['tree'] == ['a', 'b']