Skip to content

Round application windows ​

Set the corner radius and smoothing for application windows:

lua
gnoblin.window_rule {
    match = {type = "window"},
    corners = {radius = 14, smoothing = 0.6, mode = "auto"},
}
FieldAccepted valuesDefaultEffect
radiusNumber from 0 to 200 logical pixels0Sets the requested corner radius.
smoothingNumber from 0 to 10Adjusts the corner curve.
mode"auto", "force", or "off""auto"Preserve existing client corners, force a mask, or disable masking.

The example uses "auto" to preserve existing client corners. See window effects for state exceptions and how to force a mask deliberately.