Changes

Jump to: navigation, search

Package:Qtile

1,361 bytes added, 5 years ago
Added configuration details
You can press [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/resources/default_config.py#L82 <code>Mod4 + r</code> to open a prompt box], then type a program name to launch it. You can also [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/resources/default_config.py#L74 run xterm with the shortcut <code>Mod4 + Return</code>]. To [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/resources/default_config.py#L78 close a window, press <code>Mod4 + w</code>].
Workspaces are highlighted in [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/widget/groupbox.py#L136 white font] when windows are opened in them (against [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/widget/groupbox.py#L137 gray font] when it contains no window). The current workspace is [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/widget/groupbox.py#L164 surrounded with a blue border], if you have multiple screens, workspaces currently displayed in other screens are [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/widget/groupbox.py#L169 surrounded with a gray border]. You can [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/resources/default_config.py#L90 go to a given workspace pressing <code>Mod4 + <workspace ID></code>] (a, s, d, f, u, i, o or p by default). If you go to a workspace that is already displayed in another screen, workspaces will be swapped. You can [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/resources/default_config.py#L95 move the current window to a given workspace pressing <code>Mod4 + Shift + <workspace ID></code>].
=== Configuration ===
# The location specified by the <code>-f</code> argument.
# <code>$XDG_CONFIG_HOME/qtile/config.py</code>, if it is set
# <code>~/.config/qtile/config.py</code>
 
{{tip|At anytime, you can fire <code>Mod4 + Ctrl + r</code> to restart qtile with your new configuration. You should also `tail -f ~/.qtile.log` to checkout errors and warnings while editing your Qtile configuration.}}
 
In order to configure your Qtile environnement, I would suggest you to start with the default config base and tweak it bit by bit:
 
<console>
$##i## mkdir -p ~/.config/qtile
$##i## wget -O ~/.config/qtile/config.py https://raw.githubusercontent.com/qtile/qtile/v0.9.1/libqtile/resources/default_config.py
$##i## vim ~/.config/qtile/config.py
</console>
 
{{warning|Don't forget to replace "v0.9.1" with the version you installed or it may not work.}}
 
==== Configuration examples ====
 
{| class="wikitable"
|-
! Screenshot !! Name !! Link
|-
| ''Not yet available'' || [[User:Pytony|pytony]]'s configuration || https://github.com/apinsard/mycfg-qtile/config.py
|}
{{EbuildFooter}}
[[Category:Desktop]]
wiki-staff
336
edits

Navigation menu