コード例 #1
0
ファイル: helpers.py プロジェクト: stonewell/qtile
class BareConfig(Config):
    auto_fullscreen = True
    groups = [
        config.Group("a"),
        config.Group("b"),
        config.Group("c"),
        config.Group("d")
    ]
    layouts = [
        layout.stack.Stack(num_stacks=1),
        layout.stack.Stack(num_stacks=2)
    ]
    floating_layout = default_config.floating_layout
    keys = [
        config.Key(
            ["control"],
            "k",
            lazy.layout.up(),
        ),
        config.Key(
            ["control"],
            "j",
            lazy.layout.down(),
        ),
    ]
    mouse = []
    screens = [config.Screen()]
    follow_mouse_focus = False
    reconfigure_screens = False
コード例 #2
0
class ShConfig(Config):
    keys = []
    mouse = []
    groups = [
        config.Group("a"),
        config.Group("b"),
    ]
    layouts = [
        Max(),
    ]
    floating_layout = resources.default_config.floating_layout
    screens = [config.Screen()]
コード例 #3
0
ファイル: test_sh.py プロジェクト: morgs88/qtile
class ShConfig:
    keys = []
    mouse = []
    groups = [
        config.Group("a"),
        config.Group("b"),
    ]
    layouts = [
        Max(),
    ]
    floating_layout = floating.Floating()
    screens = [config.Screen()]
コード例 #4
0
class TwoScreenConfig(Config):
    auto_fullscreen = True
    groups = [
        config.Group("a"),
        config.Group("b"),
        config.Group("c"),
        config.Group("d")
    ]
    layouts = [
        layout.stack.Stack(num_stacks=1),
        layout.stack.Stack(num_stacks=2)
    ]
    floating_layout = default_config.floating_layout
    keys = [
        config.Key(
            ["control"],
            "k",
            lazy.layout.up(),
        ),
        config.Key(
            ["control"],
            "j",
            lazy.layout.down(),
        ),
    ]
    mouse = []
    follow_mouse_focus = False
    reconfigure_screens = False

    screens = []
    fake_screens = [
        libqtile.config.Screen(top=libqtile.bar.Bar([TextBox("Qtile Test")],
                                                    10),
                               x=0,
                               y=0,
                               width=400,
                               height=600),
        libqtile.config.Screen(top=libqtile.bar.Bar([TextBox("Qtile Test")],
                                                    10),
                               x=400,
                               y=0,
                               width=400,
                               height=600),
    ]