Windows
Tiling is the default; floating windows sit above each workspace’s
strip for dialogs, pickers, and anything you choose with a rule. Whether
a window floats is decided when it first maps; Super+Shift+Space
toggles it any time (a returned window becomes a column right of the
focused column).
| Field | Type | Default | Reload | Meaning |
|---|---|---|---|---|
[floating] auto |
bool | true |
live (future windows) | Float a window when it first maps if it is a dialog, names a parent (transient), or has a fixed size. false turns all three off; [[window_rule]]s still apply. |
[floating] modifier |
string | "super" |
live | The modifier held to drag floating windows: left button anywhere moves, right button resizes from the nearest edge or corner. Worth changing under --nested, where the host often keeps Super for itself. |
A floating window centers on its parent (or on the output), stays
inside the usable area, and keeps its center as it resizes. The most
recently focused floats on top; Super+Space moves focus between the
floating windows and the strip (with a floating window focused,
strip-moving actions do nothing). Floating a column takes it out of the
strip; the rest of the strip is unchanged. A floating window
can go fullscreen and comes back floating.
Window switcher
Section titled “Window switcher”Hold Alt (or Super) and tap Tab to go back to the window you used before. Keep holding and tap Tab again to reach older windows; Shift+Tab goes the other way. Let go of the modifier to switch. The switcher lists windows by when you last used them, on every workspace and output, and switching to a window on another workspace or output goes there.
A quick tap shows nothing: the strip of cards appears only once you have held the modifier for 130 ms. Each card shows the app’s icon in its color, the window title, the workspace number and where the window’s column sits in that workspace’s strip. The selected card is ringed in the color the window’s focus ring takes.
While the switcher is open:
| Key | Does |
|---|---|
| Tab / Shift+Tab | Next / previous window. Hold to step at the keyboard’s repeat rate. |
| arrow keys | Right and down step forward, left and up step back. |
| Return | Switch now. |
| Escape | Close without switching. |
| any other key | Closes without switching, then does what it normally does. |
| click a card | Switch to that window. |
Focus does not move until you let go, so the window you are in keeps the
keyboard. Locking the screen, switching VT, unplugging the switcher’s
monitor, or moving keyboard focus out of a --nested scoot window closes it
without switching. A window that closes while the switcher is open leaves
the list.
A virtual keyboard (a VNC server, wtype) uses these keys too when
[virtual_input] binds = true (see Remote desktop).
With it off, virtual keys go to the focused window and leave the switcher
alone.
Symptom: Alt+Tab does nothing under
--nested. The host desktop usually takes Alt+Tab first. Use Super+Tab, or rebind the switcher (see below).
Configure the switcher
Section titled “Configure the switcher”| Field | Type | Default | Reload | Meaning |
|---|---|---|---|---|
[switcher] scope |
string | "all" |
live, from the next switcher | Which windows the switcher lists: "all" (every workspace and output), "output" (every workspace of the focused output) or "workspace" (the focused workspace only). Any other value warns at startup and uses "all"; a reload refuses it and keeps the current scope. |
[switcher] command |
array of strings | ["scootlaunch", "--switcher"] |
live, for the next start | The program that draws the switcher. scoot starts it on the first Alt+Tab and it stays running, idle, after that. [] draws nothing; the keys still switch windows. |
[switcher]scope = "workspace"The switcher works with the keyboard without its UI. If the command cannot
start (it is not installed), scoot logs one warning. If it crashes, scoot
starts it again at the next switch, at most every 2 seconds. If it exits
right after starting three times in a row, scoot logs one warning and stops
starting it until the next scoot msg reload.
To rebind the switcher, bind switcher next and switcher prev in
[binds]; see Keybindings. While the
switcher is open, the rebound key steps it too, and Shift with
it steps back. The switcher waits for every modifier of its bind except
Shift to come up; a bind with no modifier switches at once.
If you press Alt+Tab while a program has the switcher open over IPC, the switcher becomes yours: letting go of Alt switches.
Window rules
Section titled “Window rules”Each rule is its own [[window_rule]] table. Rules apply in file order
(a later matching rule overrides an earlier one per field it sets) and
are checked when a window first maps, after [floating] auto, so a rule
always has the last word. scoot msg reload re-applies them live for
windows that map after it.
| Field | Type | Meaning |
|---|---|---|
match_app_id |
string (glob) | Matches the window’s app id (for an X11 window, its WM_CLASS class; scoot msg windows shows both). |
match_title |
string (glob) | Matches the window’s title. |
float |
bool | true floats a matching window when it maps; false keeps it in the strip even if auto would float it. |
size |
[width, height] (logical px) |
The size to ask a floating window for when it maps (1.. per axis, clamped to the usable area). No effect on a tiled window. |
A rule needs at least one matcher and must set float, size or
both; with both matchers, both must match. Matchers are globs over
the whole string, case-sensitive: "foot" matches only foot
("*foot*" for anything containing it), ? matches exactly one
character. An unusable rule (no matcher, a non-positive size) is
skipped with a warning; a reload refuses it by name on every reload
that finds it.
[[window_rule]]match_app_id = "org.gnome.Calculator"float = true
[[window_rule]]match_title = "*Picture-in-Picture*"float = truesize = [640, 360]
# A dialog you would rather have as a column:[[window_rule]]match_app_id = "org.gnome.Nautilus"match_title = "*Properties*"float = false