- Shell 51.4%
- Python 48.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| qtile | ||
| screenshots | ||
| .gitignore | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| install.sh | ||
| LICENSE | ||
| QUICKSTART.md | ||
| README.md | ||
🐍 qtile
Qtile the classic way, for Debian: a tiling window manager configured in Python, with a taskbar along the top, rofi menus, and a theme switcher. qtile from Debian's own package, no extra shell, so it stays light.
Part of the JustAGuy Linux window manager collection — installable standalone or via butterknife, the installer for Butterbian.
🚀 Installation
git clone https://justaguy.dev/butter/qtile.git
cd qtile
chmod +x install.sh
./install.sh
⚠️ XLibre users: This script installs
xorgas part of its core packages, which will replace XLibre if you've installed it. RemovexorgfromPACKAGESininstall.shbefore running, or use--only-configto skip package installation entirely.
This needs Debian 13 (trixie) with sudo access; it installs qtile 0.31 from Debian's repository. Ubuntu isn't supported.
./install.sh [OPTIONS]
Options:
--only-config Only copy config files (skip packages and external tools)
--help Show usage information
After install, it's yours. This setup is a starting point, not a setup that updates itself: change anything in ~/.config/qtile as you like. Running ./install.sh again replaces that folder; answer y at the prompt to keep the old one as ~/.config/qtile.bak.<number>, then copy your changes back from it. Your wallpapers and your theme are kept either way.
On a minimal Debian with no login screen yet, reboot when the installer finishes (it says so), then pick Qtile at the login screen.
📦 What It Installs
| Component | Purpose |
|---|---|
qtile |
Tiling window manager (Debian's package) |
python3-psutil, python3-dbus-fast |
The bar's CPU and memory, and what's playing |
picom (yshui) |
Compositor: shadows, fades |
rofi |
App launcher, theme and layout pickers, power menu, keybind help |
dunst |
Notifications |
kitty |
Terminal emulator |
thunar + plugins |
File manager |
firefox-esr |
Web browser |
feh |
Wallpaper |
xsettingsd, nwg-look |
Live GTK theme changes, GTK settings |
network-manager-gnome |
Network tray icon |
lxpolkit |
Password prompts for admin tasks |
flameshot |
Screenshots |
pamixer, pavucontrol, pulsemixer |
Volume keys, mixer, scratchpad mixer |
brightnessctl |
Brightness keys |
arandr |
Arrange monitors |
gsimplecal |
The calendar behind the bar's date |
butterview |
Image viewer |
lightdm |
Login screen |
| Orchis, Colloid | GTK and icon themes (butterrepo) |
| Nerd Fonts, Inter | Fonts with icons, and the menus' font |
An optional tools menu at the end offers browsers, editors and more.
🧭 The Bar
- Left: the Debian swirl opens the app launcher. The groups are dots: an empty group is a faint dot, one with windows shows its number, the current one is in the theme color. Then the current layout as a symbol; click it for the layout menu.
- Middle: a taskbar, this group's windows with their icons; the focused one sits on a block. Click a window to focus it.
- Right: what's playing (only while something plays), then CPU, memory, disk and volume (right-click for the mixer), brightness and battery on laptops, each an icon in the theme's second color before its value, with a faint slash between them. Then the date (click for a calendar), the time, a screenshot button (a region; Super + s takes the whole screen), the tray and the power menu.
Every monitor gets its own bar. A monitor plugged in after login switches on to the right of the others (scripts/randr-watch), and qtile restarts so it gets a bar; your windows stay. Arrange monitors with arandr and save the layout as ~/.screenlayout/default.sh (Layout → Save As): it is applied at every login. A monitor you turn off there stays off. To show qtile's layout pictures instead of the symbols, set LAYOUT_SYMBOLS = False in config.py.
🎨 Theme Switcher
Super + Shift + t opens the theme switcher: 15 themes (aura, butterbox, catppuccin, dracula, eldritch, everforest, github_dark, gruvbox, kanagawa, monokai, moonfly, nord, retro, rose_pine, tokyo_night), the same 15 as openbox-classic and sway-classic. A pick recolors the bar and window borders, rofi and dunst, and switches the GTK and icon themes (Thunar takes the theme's background), kitty's colors and the wallpaper.
Each theme is a folder in ~/.config/qtile/themes/: theme.conf (kitty, GTK, icons, wallpaper, dunst colors), colors.ini (the bar's palette) and colors.rasi (rofi's).
💡 Special thanks to vinceliuice for the excellent GTK and icon themes.
🔑 Keybindings Overview
Super + / opens every keybind in rofi, read from config.py each time, so a key you add there shows up.
| Shortcut | Action |
|---|---|
Super + Return |
Terminal (kitty) |
Super + Space |
App launcher |
Super + / |
Keybind help |
Super + Shift + t |
Theme switcher |
Super + x |
Power menu |
Super + q |
Close window |
Super + b / Super + Shift + b |
Firefox / private window |
Super + f |
File manager |
Super + Arrows / h j k l |
Focus a window |
Super + Shift + Arrows / h j k l |
Move the window |
Super + Ctrl + Arrows / h j k l |
Resize the window |
Super + Ctrl + = |
Reset window sizes |
Super + Tab |
Next layout |
Super + y |
Layout menu |
Super + w |
Tabs (TreeTab) on / off |
Super + t |
Flip the split (BSP) |
Super + Shift + Space |
Float, centered |
Super + Shift + f |
Fullscreen |
Super + Shift + Return |
Drop-down terminal |
Super + Alt + a |
Drop-down volume mixer |
Super + 1-9, 0, -, = |
Go to group 1-12 |
Super + Shift + 1-9, 0, -, = |
Move window to group 1-12 |
Super + s |
Screenshot (full screen) |
Super + Shift + s |
Screenshot (region) |
Super + F10/F11/F12 |
Mute / volume down / volume up |
Alt + Tab |
Next window |
Super + Shift + r |
Restart qtile |
Super + Shift + q |
Log out |
🖥️ Layouts
Super + Tab cycles them; Super + y (or the layout symbol in the bar) picks one.
- Monad Tall — one big window, the rest stacked beside it (the default)
- BSP — each new window splits the focused one
- Columns — three columns, good on ultrawides
- Max — one window at a time
- Tree Tab — tabs down the side
- Floating — windows where you put them
- Zoomy — the focused window large, the rest small
Groups 8, 9 and 10 have rules: Discord, GIMP and OBS open there.
📂 Configuration Files
~/.config/qtile/
├── config.py # Keys, layouts, groups, the bar
├── colors.py # Reads the active palette from colors.ini
├── colors.ini # The bar's palette (written by the theme switcher)
├── themes/ # One folder per theme (15)
│ └── github_dark/
│ ├── theme.conf # Kitty, GTK, icons, wallpaper, dunst colors
│ ├── colors.ini # Bar palette
│ └── colors.rasi # Rofi colors
├── rofi/ # The rofi menus, sharing one look
│ ├── shared.rasi # the common style
│ ├── colors.rasi # written by the theme switcher
│ ├── config.rasi # app launcher (Pat's strip: `enabled: false` hides it)
│ ├── strip.rasi # the launcher strip's gradient (copied from the theme)
│ ├── pat.png # Pat, on the launcher's strip
│ ├── themes.rasi # theme and layout pickers
│ ├── power.rasi
│ └── keybinds.rasi
├── dunst/dunstrc # Notifications (colors set by the theme switcher)
├── picom/picom.conf # Compositor
├── kitty/ # The session's own kitty config, ~/.config/kitty is left alone
│ ├── kitty.conf
│ ├── current-theme.conf # written by the theme switcher
│ └── themes/ # Aura, Butterbox, Trapped in Amber
├── wallpaper/ # Wallpapers
└── scripts/
├── autostart.sh # polkit, wallpaper, nm-applet, randr-watch, xsettingsd, picom, dunst
├── randr-watch # switches on a monitor plugged in after login
├── thememenu # theme switcher
├── layoutmenu # layout menu
├── help # keybind help
├── power # power menu
└── changevolume # volume keys with a notification
The theme switcher also writes ~/.config/gtk-3.0/settings.ini, ~/.xsettingsd and ~/.themes/qtile-<theme>/ (Thunar's background).
🔍 HiDPI / 4K Displays
Tiny type on a 4K screen? There's no single scaling knob — each toolkit (X fonts, GTK, Qt, the cursor) has to be told separately. Because qtile launches apps itself, the HiDPI block lives in ~/.config/qtile/config.py (commented, near the top), not in autostart.sh; uncomment it and restart qtile. Full walkthrough — 200% vs 150%, GTK/Qt/cursor, the bar — on the Troubleshooting wiki page under HiDPI / 4K displays.
Support
Connect
- YouTube — tutorials and guides
- Butterforge — source code and projects
- Butter desktops — ready-to-use window manager desktops for Debian
- The Butter Lab — Discourse forum
- The Churn — community chat (Fluxer)
- Wiki — documentation and guides
- Mastodon — @justaguylinux@fosstodon.org
- Butterbian — a maintained Debian derivative built on Debian stable
License
GPL-2.0 - See LICENSE for details.
Made with 🧈 by JustAGuyLinux

