The light one: sway with waybar, rofi menus, swaync and 15 themes.
  • Shell 73.1%
  • CSS 26.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-07 21:05:31 -05:00
config clipboard history on super+v: a rofi list of what cliphist recorded 2026-11-07 21:05:31 -05:00
screenshots new screenshot: the taskbar bar 2026-10-30 18:26:58 -04:00
.gitignore init 2025-10-08 13:20:30 -04:00
CONTRIBUTING.md lives at the butter org now 2026-10-30 18:15:02 -04:00
install.sh kitty's own folder, ~/.config/sway/kitty: set for the terminal, launcher, thunar, waybar and swaync; the theme switcher writes there and a first install gets the theme's colors 2026-11-07 14:45:24 -05:00
LICENSE Add GPL-2.0 license 2026-02-01 18:00:19 -05:00
nvidia-setup.sh update for nvidia proprietary drivers 2025-10-10 17:20:14 -04:00
QUICKSTART.md clipboard history on super+v: a rofi list of what cliphist recorded 2026-11-07 21:05:31 -05:00
README.md clipboard history on super+v: a rofi list of what cliphist recorded 2026-11-07 21:05:31 -05:00

🌊 sway-classic

Made for Debian Sway Stars Forks Last Commit

A minimal but functional Sway rice script for Debian-based systems.
Installs all core packages, compositor configs, and themes — ready to go out of the box.

Part of the JustAGuy Linux window manager collection — installable standalone or via butterknife, the installer for Butterbian.

📖 Deep dive: the wiki. New to sway? Start with Architecture. NVIDIA users: read NVIDIA first. Pages exist for install, keybinds, theming, customization, and troubleshooting.

sway-classic — the light one, with waybar

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 sway-classic — the light one 📍 you are here
buttersway sway-classic
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.


🚀 Installation

Quick Install

git clone https://justaguy.dev/butter/sway-classic.git
cd sway-classic
chmod +x install.sh
./install.sh

⚠️ NVIDIA users: Wayland on proprietary NVIDIA drivers needs extra setup. The installer runs nvidia-setup.sh automatically if a GPU is detected; it's also copied to ~/nvidia-setup.sh so you can re-run it. See the NVIDIA wiki page.

Installation Options

./install.sh [OPTIONS]

Options:
  --only-config      Only copy config files (skip packages and external tools)
  --help             Show help message

Full install steps, display-manager flow, and non-Debian notes live on the Install wiki page.

Updating: git pull in the clone, then run ./install.sh again (or --only-config to skip packages). It reinstalls in place the way dpkg treats a conffile: config, keybindings.conf, rules.conf, workspaces.conf, autostart.sh, foot.ini, waybar's config-glyphs and swaync's config.json stay as they are if you edited them; if the shipped version changed too, the new one lands beside yours as .new and the installer says so, once. The wallpaper and theme you picked are kept, and so are the bar, rofi and swaync colors the theme switcher wrote. Everything else in ~/.config/sway is the setup's own and is replaced. Package lists are refreshed, not upgraded: a full upgrade is yours to run.

🧈 sway 1.11 comes from butterrepo (Debian trixie ships 1.10.1): Debian's own packaging, built on wlroots 0.19.


📦 What It Installs

Component Purpose
sway Tiling Wayland compositor / WM
swayidle Monitor off after idle, wake on input
swaybg Wallpaper
waybar Status bar
rofi App launcher / cheatsheet / power menu
swaync Notification daemon + center
foot, kitty Terminals (foot lightweight, kitty main)
grim + slurp Screenshot pair
cliphist + wl-clipboard Clipboard history
xdg-desktop-portal-wlr Wayland portals
thunar + plugins File manager
firefox-esr Default web browser
pipewire Audio
nwg-look, nwg-displays GTK / display configurators
kanshi, wlr-randr Output management (kanshi opt-in)
autotiling Optional auto layout switcher

💡 Themes by vinceliuice — Orchis (GTK) and Colloid (icons).


🤔 Why These Pieces?

The full rationale for each component (waybar vs. swaybar, rofi vs. wofi, why no lock screen, etc.) lives in the wiki's Architecture page.


🖥️ More Than One Monitor

sway turns a new monitor on by itself. Arrange them in Displays Settings (nwg-displays, in the launcher); the layout is kept. The twelve workspaces are split evenly across the screens, a laptop's own screen first and then left to right, so with two monitors Super + 1–6 are the first screen and 7–12 the second, whatever had focus. Pin them differently with the Workspaces button in Displays Settings. Details on the Customization wiki page.

🎮 NVIDIA

Wayland on proprietary NVIDIA drivers needs three things: kernel modesetting, sway --unsupported-gpu, and (often) WLR_NO_HARDWARE_CURSORS=1. The installer runs nvidia-setup.sh automatically — full breakdown on the NVIDIA wiki page.


🔑 Keybindings Overview

Key Combo Action
Super + Return Launch terminal (kitty)
Super + Space App launcher (rofi)
Super + Q Close focused window
Super + / Keybind cheatsheet
Super + B Firefox
Super + Shift + B Firefox (private)
Super + F File manager (Thunar)
Super + E Editor (Geany)
Super + V Clipboard history
Super + Shift + T Theme switcher (15 themes)
Super + Shift + R Reload sway config
Super + Shift + Q Exit sway
Super + X Power menu (rofi)
Super + Shift + N Toggle notification center (swaync)
Super + Shift + F Toggle fullscreen
Super + Shift + Space Toggle floating
Super + T / Super + W Cycle layout / Tabbed layout
Alt + Tab / Alt + Shift + Tab Cycle siblings / tabs
Super + H/J/K/L or Super + Arrows Focus window
Super + Shift + H/J/K/L or Super + Shift + Arrows Move window
Super + Ctrl + Arrows Resize window
Super + Ctrl + = Balance windows
Super + 1–9/0/-/= Switch to workspace 1-12
Super + Shift + 1–9/0/-/= Move window to workspace 1-12
Super + S / Super + Shift + S Full / region screenshot

Full reference (media keys, screenshots, layouts, sway control) on the Keybinds wiki page.

Keybindings are configured via:

  • ~/.config/sway/keybindings.conf
  • ~/.config/sway/workspaces.conf
  • ~/.config/sway/scripts/help (run manually or with Super + /)

On first login, a welcome notification points to ~/QUICKSTART-sway.md — a short cheat sheet you can delete when you're comfortable.


🎨 Theme Switcher

Super + Shift + T opens a rofi menu of 15 themes. Each theme swaps sway border colors, waybar palette, rofi palette, swaync palette, kitty color scheme, GTK theme + icons, and wallpaper — all in one shot. Takes about a second, no log out.

Shipped themes, the same fifteen as openbox-classic: Aura, Butterbox, Catppuccin, Dracula, Eldritch, Everforest, GitHub Dark (default), Gruvbox, Kanagawa, Monokai, Moonfly, Nord, Retro, Rosé Pine Moon, Tokyo Night.

See the Themes wiki page for how it works, how to add a theme, or how to extend what the switcher touches.


🖥️ Screen Off and Lock

Super + Shift + X (or the power menu) turns the monitor off right now. Any key or mouse movement brings it back. After 15 minutes idle the same thing happens on its own.

Super + Escape (or Lock in the power menu) locks the screen: swaylock over your wallpaper, its ring in the theme's colors. It doesn't lock by itself: to lock after 10 minutes idle and before a suspend, swap the exec swayidle line in ~/.config/sway/config for the commented one just below it.


🩹 Two Things the Installer Fixes for You

  • seatd vs logind. If the seatd daemon is running beside a display manager, sway can't become DRM master, the session dies, and lightdm's greeter hangs with it. Nothing here needs seatd; the installer disables it and logind keeps the seat.
  • Your foot config. foot only reads ~/.config/foot, so the installer links it into the sway directory. If you already had one, it's backed up as ~/.config/foot.bak.<timestamp> rather than overwritten.

📂 Configuration Files

~/.config/sway/
├── config                # variables, output, input, appearance, includes
├── workspaces.conf       # workspace vars, switch/move bindings
├── rules.conf            # for_window rules, borders, gaps
├── keybindings.conf      # all bindsym lines
├── current-theme -> themes/<name>/   # symlink updated by thememenu
├── scripts/
│   ├── autostart.sh      # startup (swaync, waybar, lxpolkit, cliphist, portals)
│   ├── screenshot        # grim/slurp wrapper: full | region | copy
│   ├── changevolume      # volume + notifications
│   ├── thememenu         # theme switcher
│   ├── power             # rofi power menu (screen off / logout / shutdown / reboot)
│   ├── screen-off        # monitor off now, wakes on the next input
│   ├── help              # rofi keybind cheatsheet
│   ├── clipboard         # rofi clipboard history (Super + V)
│   └── sway-layout-menu.sh
├── waybar/               # config-glyphs + style-glyphs.css (style theme-managed)
├── rofi/                 # shared.rasi + launcher, keybinds, power, theme, clipboard menus (colors from current-theme); the launcher's Pat strip: `enabled: false` in config.rasi hides it
├── swaync/               # config.json + style.css (style theme-managed)
├── foot/                 # foot.ini (color block theme-managed via include)
├── themes/
│   ├── _templates/       # waybar.css + swaync/style.css + rofi/colors.rasi templates
│   └── <name>/           # per-theme colors.conf + colors.rasi + foot-colors.ini + theme.conf
└── wallpaper/

🎨 Customization

Colors are handled by the theme switcher (Super + Shift + T). For layout, fonts, gaps, keybindings, output config, and other non-color tweaks, see the Customization wiki page — it walks through each config file with examples.


Credits

This project is a config on top of other people's software. Sway is by Drew DeVault and maintainers. Waybar by Alex Orzechowski. swaync by ErikReider. rofi-wayland by lbonn. foot by dnkl. kitty by Kovid Goyal. GTK + icon themes by vinceliuice — Orchis and Colloid.


Support

Buy me a coffee

Connect

License

GPL-2.0 - See LICENSE for details.


Made with 🧈 by JustAGuyLinux