Config Reference

Rules

Window rule blocks and individual matching/placement policy options.

Defaults

Defaults shown here are the effective builtin defaults from RuntimeTuning::builtin_defaults().

Default Config Shape

Use this as the section shape when editing halley.rune.

Rules config
rules:
  rule:
    app-id "firefox"
    title [r"File Upload.*", r"Open File.*"]
    opacity 0.96
    width 720
    height 520
    spawn-placement "center"
    cluster-participation "float"
  end
end

rules

Window-rule blocks.

OptionTypeDefaultNotes
rulenested blocknoneRepeated window-rule block.

rule

Individual window matching and placement policy.

OptionTypeDefaultNotes
app-idquoted string, regex, or arrayrequired if title omittedMatches window app IDs. Arrays can mix literals and regex literals like r"Firefox.*".
titlequoted string, regex, or arrayrequired if app-id omittedMatches window titles.
opacityf321.0Matched opacity from 0.0 through 1.0. Translucent windows block direct scanout.
widthu32unsetOptional fixed initial width for matching windows.
heightu32unsetOptional fixed initial height for matching windows.
overlap-policystringdeprecatedDeprecated no-op in v0.3.0. Expanded windows can overlap normally; use spawn-placement for initial position and cluster-participation "float" for floating dialogs.
spawn-placementstringplacement.expanded.strategyInitial placement strategy for matching windows. Accepted values include center, viewport-center, cursor, app, and find-empty.
cluster-participationstringlayoutControls whether matching windows join layout management or float. Accepted values: layout, float.