Qtile the classic way, for Debian: a taskbar bar, rofi menus and 15 themes
  • Shell 51.4%
  • Python 48.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-08 08:28:49 -05:00
qtile dunstrc ships in the default theme's colors 2026-11-08 08:28:49 -05:00
screenshots new screenshot, and no state glyphs in the taskbar 2026-10-30 17:23:37 -04:00
.gitignore updating suggested .gitignore 2025-09-30 13:50:42 -04:00
CHANGELOG.md update new codeberg project 2025-10-01 01:47:53 -04:00
CONTRIBUTING.md qtile-setup lives at butter/qtile 2026-10-30 17:54:51 -04:00
install.sh debian's netinst connection: a dhcp one is offered to NetworkManager at the end of the install (file kept as .before-networkmanager), a static one gets the fix; butterscripts' check_network_manager 2026-11-06 16:18:30 -05:00
LICENSE Add GPL-2.0 license 2026-02-01 18:00:07 -05:00
QUICKSTART.md quickstart: geany is installed now 2026-11-05 17:01:08 -05:00
README.md bar: oxwm-style right side, cpu, memory, disk and volume always shown with their icons and slashes between, plus a screenshot button 2026-11-07 16:38:45 -05:00

🐍 qtile

Made for Debian Qtile

Qtile Desktop

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 xorg as part of its core packages, which will replace XLibre if you've installed it. Remove xorg from PACKAGES in install.sh before running, or use --only-config to 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

Buy me a coffee

Connect

License

GPL-2.0 - See LICENSE for details.


Made with 🧈 by JustAGuyLinux