Install
// Before install qtile, you need download python2-setuptools manually, and install it:
$ sudo pacman -U python2-setuptools-1_5.7-1-any.pkg.tar.xz
$ yaourt -S qtile-git
$ mkdir ~/.config/qtile
$ cp /usr/share/doc/qtile-git/default_config.py ~/.config/qtile/config.py
$ echo "exec qtile" > ~/.xinitrc
$ python2 -m py_compile ~/.config/qtile/config.py // check syntax for config.py
$ qsh
> restart
> quit
$
Configuration
Something import in config.py:
mod = "mod4" # the Win key as mod key
Key([mod], "Return", lazy.spawn("xterm")), # start a shell, you can modify it as another virtual terminal, such as "xfce4-terminal"
Key([mod], "w", lazy.window.kill()), # close a application
Key([mod, "control"], "r", lazy.restart()), # reload Qtile after modify config.py
Key([mod, "control"], "q", lazy.shutdown()), # quit Qtile