- QML 47.6%
- C 36.7%
- Shell 13.4%
- Roff 1.5%
- Makefile 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| docs | ||
| screenshots | ||
| suckless | ||
| .gitignore | ||
| CHANGELOG.md | ||
| checklist.md | ||
| CONTRIBUTING.md | ||
| install.sh | ||
| LICENSE | ||
| QUICKSTART.md | ||
| README.md | ||
🥞 butterdwm
butterdwm, pronounced "buttered wm".
A patched suckless dwm 6.8 at the core, a quickshell bar on top, for Debian-based systems. Simple where it can be, practical where it has to be.
Two ways to run dwm
Both are dwm on Debian, as two projects, each with its own installer. Pick by what you want on top.
| butterdwm — the full one 📍 you are here | dwm-suckless — the light one |
|---|---|
![]() |
![]() |
| A quickshell bar and a settings panel; colors generated from any wallpaper; keybinds and rules in two plain files, compiled in | st, slstatus and tabbed; one "dusk" palette; every keybind in config.def.h; no quickshell |
| About 270 MiB idle | About 70 MiB idle |
git clone https://justaguy.dev/butter/dwm.git |
git clone https://justaguy.dev/butter/dwm-suckless.git |
| Wiki · README | README · QUICKSTART |
Both write ~/.config/suckless, so one account runs one of them at a time. Idle
memory is the whole session, freshly booted, with nothing open.
📚 The documentation is the wiki. This README gets you installed and tells you the four things to know. Everything else, keybinds, the settings panel, scratchpads, theming, multi-monitor, patches, upgrading, troubleshooting, lives there.
📝 Recent changes:
CHANGELOG.md.
Starting from a bare machine? butterknife installs Debian 13 with this setup picked from a menu. Part of the JustAGuy Linux window manager collection and the Butterbian family. Formerly dwm-setup; the old URL redirects.
INSTALL
git clone https://justaguy.dev/butter/dwm.git
cd dwm
./install.sh
./install.sh [OPTIONS]
--only-config Config files only (for non-Debian distros, at your own risk);
on Debian it also installs packages added to the list since,
one at a time, never removing anything
--help Show usage
The installer refreshes apt lists, installs the packages (see the wiki's Packages page), builds dwm, st and tabbed, installs the dwm-session login wrapper, and pulls kitty, Nerd Fonts, the GTK theme and LightDM through butterscripts. It ends with an optional tools prompt. No system upgrade; run sudo apt upgrade yourself.
⚠️ XLibre users: the package list includes
xorg, which replaces XLibre. Remove it fromPACKAGESininstall.shfirst, or use--only-config.
🪵 Branches:
mainis the release,devis where work lands. The previous release stays onlegacy:git clone -b legacy .... The light build above is its own project, dwm-suckless.
Other distributions: install the equivalent packages yourself, run ./install.sh --only-config, then sudo make clean install in each of ~/.config/suckless/{dwm,st,tabbed}. Unsupported, but it works.
FOUR THINGS TO KNOW
-
Super + /opens the settings panel. Keybinds, window rules and scratchpads, bar layout, gaps and borders, effects, displays and wallpapers, all in one place with vertical tabs. Most things you would edit a file for are a click here. -
Two files hold your configuration.
~/.config/suckless/dwm/keybinds.confis every keybinding, dwm actions and launchers alike, one line each.rules.confis every window rule and scratchpad. Edit them in the panel or in an editor; the generators turn them into C at build time and refuse a bad line rather than taking the key table down. -
Super + Escapeapplies. It regenerates, rebuilds, installs and restarts dwm in place. Your windows and tags survive. Nothing to delete, nomaketo remember. -
Updating is a menu entry.
Super + Shift + m, then Update setup: it pulls the clone you installed from and reinstalls in place and rebuilds dwm, the way dpkg treats a conffile. A file you edited stays as it is; if the shipped version changed too, the new one lands beside yours as.newand the installer says so, once. The setup's own files are replaced, your settings and colors are left alone. Nothing checks on its own. Upgrading has the rule.
Everything else is on the wiki: Keybinds · Scratchpads · Customization · Themes · Tabs · Multi-Monitor · Patches · Upgrading · Troubleshooting (HiDPI lives here too)
WHY QUICKSHELL
dwm's own bar is tag numbers and a line of status text. Everything people expect from a bar today has to be patched in, and each patch is another hand-merge on the next dwm release. The bar here is quickshell instead: an SNI tray, tag pills with live occupancy, a layout picker, now-playing, weather, volume, network, calendar, the settings panel, and wallpaper-driven theming that recolors the whole desktop without a restart. The same bar ships with butterbspwm and butterbox, so it is maintained once. On the dwm side it is wired in through one contained patch, quickshell-extbar.
Suckless, mostly. dwm, st and tabbed are small C programs, patched by hand, rebuilt with make. The bar is Qt/QML and drags in a Qt stack a purist would never install. That is the trade, and it is deliberate. If it is not your thing, dwm-suckless is the same dwm with its own bar and slstatus, and no Qt. The full reasoning is on the wiki's Architecture page.
WHAT'S IN THE BOX
| Component | Job |
|---|---|
| dwm | Tiling window manager, 22 patches, 15 layouts |
| quickshell bar | Tags, launcher and window switcher, layout picker, tray, media, network, weather, power, settings panel |
| Wallpaper theming | Pick a wallpaper and the desktop, terminal and GTK re-theme from it |
| kitty | Terminal |
| st + tabbed | Suckless terminal in tabbed scratch slots; tabs for any X11 window |
| picom | Compositor: opacity, shadows, animations |
| dunst | Notifications |
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.
Made with 🧈 by JustAGuyLinux



