text: Called after Qtile starts managing a new client. That is, after a window is assigned to a group, or when a window is made static. This hook is not called for internal windows.
  Arguments:
  Called before Qtile starts managing a new client. Use this hook to declare windows static, or add them to a group on startup. This hook is not called for internal windows.
  Arguments:
  Example:
  def func(c): if c.name == "xterm": c.togroup("a") elif c.name == "dzen": c.static(0) libqtile.hook.subscribe.client_new(func)
  Called after a client has been unmanaged.
  Arguments:
  Called when a screen is added or screen configuration is changed (via xrandr). The hook should take two arguments: the root qtile object and the xproto.randr.ScreenChangeNotify event. Common usage is simply to call qtile.cmd_restart() on each event (to restart qtile when there is a new monitor):
  Example:
  def restart_on_randr(qtile, ev): qtile.cmd_restart()