The groups config file variable should be initialized to a list of Group objects.
A group is a container for a bunch of windows, analogous to workspaces in other window managers. Each client window managed by the window manager belongs to exactly one group.
class Group:
def __init__(self, name):
...
| command | description |
|---|---|
| commands() | Returns a list of possible commands for this object. Used by qsh for command completion and online help. |
| doc(name) | Returns the documentation for a specified command name. Used by qsh to provide online help. |
| info() | Returns a dictionary of info for this object. |
| items(name) | Returns a list of contained items for the specified name. Used by qsh to allow navigation of the object graph. |
| nextgroup() | Switch to the next group. |
| prevgroup() | Switch to the previous group. |
| toscreen(screen=None) | Pull a group to a specified screen.
Pull group to the current screen:
Pull group to screen 0:
|
| unminimise_all() | Unminimise all windows in this group. |
from libqtile.manager import Group
groups = [
Group("a"),
Group("b"),
Group("c"),
]
Copyright (c) 2010 Aldo Cortesi