Config Reference

Rules

Strict first-match policy for managed windows and layer-shell surfaces.

Defaults

Defaults shown here are the effective built-in defaults for the selected wiki version.

Default Config Shape

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

Rules config
rules:
  window-rule:
    app-id "firefox"
    title r"Picture.*"
    opacity 0.96
    blur true
    spawn-placement "cursor"
    cluster-participation "float"
  end

  layer-rule:
    namespace "waybar"
    layer "top"
    blur true
  end
end

rules

Repeated rule blocks.

OptionTypeDefaultNotes
window-rulerepeated nested blocknoneMatches a managed Wayland or XWayland toplevel.
layer-rulerepeated nested blocknoneMatches a layer-shell namespace and optional layer.

rules.window-rule

Window matching, initial geometry, visual policy, and cluster participation.

OptionTypeDefaultNotes
app-idstring | regex | arrayoptionalExact or regex application-id match.
titlestring | regex | arrayoptionalExact or regex title match.
width | heightu32unsetOptional fixed initial dimensions.
opacityf321.0Opacity from 0.0 through 1.0.
blurboolunsetExplicit client blur activation policy.
spawn-placementcenter | viewport-center | cursor | app | find-emptycenterInitial window placement.
cluster-participationlayout | floatlayoutWhether the window joins cluster layout management.

rules.layer-rule

Layer-shell blur matching.

OptionTypeDefaultNotes
namespacestring | regex | arrayrequiredLayer-shell namespace match.
layerstring | arrayanyOptional background, bottom, top, or overlay layer match.
blurboolrequiredEnables or disables blur for the matching surface.