- QML 81.3%
- Shell 18.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| config | ||
| share | ||
| state | ||
| buttersway-session | ||
| buttersway.desktop | ||
| CONTRIBUTING.md | ||
| install.sh | ||
| LICENSE | ||
| nvidia-setup.sh | ||
| QUICKSTART.md | ||
| README.md | ||
| screenshot.png | ||
🌊 buttersway
buttersway: sway with the butter shell. The full build of sway-classic.
Sway at the core, the same quickshell bar and settings panel as mangobutter, butterdwm and butterbox on top, for Debian 13 (trixie).
Two ways to run sway
Both are sway on Debian, as two projects, each with its own installer. Pick by what you want on top.
| buttersway — the full one 📍 you are here | sway-classic — the light one |
|---|---|
![]() |
![]() |
| A quickshell bar and a settings panel; colors generated from any wallpaper; keybinds and rules in plain files, or edited in the panel | Waybar, rofi menus and swaync, a theme switcher with 15 themes, the sway config edited by hand; no quickshell |
| About 255 MiB idle | About 185 MiB idle |
git clone https://justaguy.dev/butter/sway.git |
git clone https://justaguy.dev/butter/sway-classic.git |
| README · QUICKSTART | Wiki · README |
Both write ~/.config/sway, so one account runs one of them at a time;
installing either over the other moves the other's folder aside whole,
wallpapers kept. Idle memory is the whole session, freshly booted, with
nothing open.
Starting from a bare machine? butterknife installs Debian 13 with a setup picked from a menu. Part of the JustAGuy Linux window manager collection and the Butterbian family.
INSTALL
sudo apt install git # a minimal Debian doesn't have it
git clone https://justaguy.dev/butter/sway.git
cd sway
./install.sh
./install.sh [OPTIONS]
--only-config Config files; on Debian also the packages added to the list
since, one at a time, never removing anything
--help Show usage
Then reboot (or log out) and pick Sway at the login screen. The installer refreshes and upgrades the system (apt-get upgrade), adds butterrepo and takes sway 1.11, quickshell, awww, butterpal, Orchis and Colloid from it, installs the rest from Debian, pulls kitty, Nerd Fonts, Geany and LightDM through butterscripts, installs the buttersway-session login wrapper, and ends with an optional tools prompt.
That Sway is buttersway's entry: it starts sway through buttersway-session, which reads ~/.config/sway/env first. The installer sets Debian's own Sway entry aside (it would start the same config without that environment), so there is one. To bring Debian's back: sudo dpkg-divert --rename --remove /usr/share/wayland-sessions/sway.desktop.
Debian 13 is the only base the installer accepts; forky, sid and Ubuntu are refused.
⚠️ NVIDIA: untested. Only run on AMD so far. The installer runs
nvidia-setup.shwhen it sees the proprietary driver. Reports welcome either way.
🪵 Branches:
mainis the release,devis where work lands.
FIVE THINGS TO KNOW
-
Super + /opens the settings panel. Keybinds, window rules and scratchpads, layout, gaps and borders, displays and wallpapers, one window with vertical tabs. Most things you would edit a file for are a click here. -
Your config is six files in
~/.config/sway/.keybinds.confis every binding,rules.confevery window rule and scratchpad,local.confyour overrides (read last, so they win), plusautostart.conf,envand theconfigthat includes them. The setup's own files live in~/.local/share/butterswayand are replaced on update; the bar's settings and the generated colors live in~/.local/state/buttersway. Yours are treated likedpkgtreats a conffile. -
Super + Shift + rreloads. No restart, no logout. The bar's gaps, border width and kept display layout are files sway includes, so a reload keeps them. -
Twelve workspaces, shared out between monitors. One monitor has all twelve; two get 1–6 and 7–12; three get 1–4, 5–8 and 9–12. A laptop's own screen comes first, then left to right, and each bar shows its own monitor's.
workspace N output NAMElines of your own inlocal.confturn the split off. -
Updating is a menu entry.
Super + Shift + m, then Update setup: it pulls the clone you installed from and reinstalls in place. 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.
WHY SWAY
Sway is i3 for Wayland: you build the layout yourself, splitting a container side by side or stacked, or making it tabbed or stacking, and it stays as you made it. It's the best-known wlroots compositor, packaged by Debian and stable for years. On top sits the shell the other butter setups share: workspace pills with live occupancy (and app icons, if you like), a launcher, a layout picker, tray, media, weather, network, the settings panel, and wallpaper-driven theming that recolors the whole desktop. The bar is a layer-shell surface and talks to sway over its IPC, so nothing in sway is patched.
What sway doesn't do: blur, shadows, rounded windows and animations (that's SwayFX), and dwm-style master layouts (that's mangobutter).
WHAT'S IN THE BOX
| Component | Job |
|---|---|
| sway | Tiling Wayland compositor, 1.11 from butterrepo |
| quickshell bar | Workspaces, launcher, layout picker, tray, media, network, weather, power, settings panel |
| Wallpaper theming | Pick a wallpaper and the desktop, terminal and GTK re-theme from it (butterpal) |
| kitty | Terminal, with a session-local config |
| awww | Wallpaper daemon; wallpapers wipe in |
| dunst | Notifications |
| swayidle + quickshell lock | Screen off after 15 minutes, lock on Super + Escape |
| grim + slurp + swappy | Screenshots and annotation |
| butterview | Image viewer |
CREDITS
This project is a config on top of other people's software. Sway is by Drew DeVault, Simon Ser and contributors, on wlroots. Quickshell by outfoxxed. awww by LGFae. rofi-wayland by lbonn. dunst by the dunst project. kitty by Kovid Goyal. GTK and icon themes by vinceliuice: Orchis and Colloid.
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



