Appearance rules
Appearance keys override the global look for the windows a rule matches. They update while the window is open and on config reload.
# Blur every window[[window_rule]]blur = trueAppearance keys
Section titled “Appearance keys”Transparency and blur
Section titled “Transparency and blur”| Key | Default | Description |
|---|---|---|
opacity | 1.0 | Surface opacity, 0.0 to 1.0. |
blur | off | Blur behind the window, including a translucent Umbriel title bar. |
blur_popups | off | Also blur the window’s popups. Popups always blur the live content behind them. |
blur_ignore_alpha | 0.5 | Skip blur where the content is more transparent than this, 0.0 to 1.0. |
blur_optimized | global | Override appearance.blur.optimized. |
dim_behind | 0.0 | Darken what is below the window on its output, 0.0 to 1.0. See Dim behind. |
Borders, corners, and shadow
Section titled “Borders, corners, and shadow”| Key | Default | Description |
|---|---|---|
border_width | global | Override appearance.border_width, 0 to 100. |
outer_border_width | global | Override appearance.outer_border_width, 0 to 100. |
border_color_focused | global | Override colors.border.focused. |
border_color_unfocused | global | Override colors.border.unfocused. |
border_color_outer | global | Override colors.border.outer. |
corner_radius | global | Override appearance.corner_radius, 0 to 100. |
shadow | global | Override appearance.shadow.enabled. |
title_bar | global | "on", "negotiated", "forced", or "off"; overrides appearance.title_bar.mode. |
title_bar_buttons | global | Override appearance.title_bar.buttons: any of "minimize", "maximize", "close" from the title outward, or [] for none. |
Effects
Section titled “Effects”| Key | Default | Description |
|---|---|---|
border_effect | global | Replace effects.border with a border preset or pool, or "off". |
border_effect_unfocused | global | Override effects.border_unfocused with true or false. |
window_effect | global | Replace effects.window with a window preset or pool, or "off". |
Fade unfocused windows
Section titled “Fade unfocused windows”# Unfocused windows at 85% opacity[[window_rule]]match.is_focused = falseopacity = 0.85
[[window_rule]]match.is_focused = trueopacity = 1.0Opacity and blur fade when focus changes. The fade timing is set in Window opacity.
Borders that show window state
Section titled “Borders that show window state”Each border_color_* key is independent: an unset one keeps the global color.
# Amber borders on scratchpad windows[[window_rule]]match.is_scratchpad = trueborder_color_focused = "#E5C07BFF"border_color_unfocused = "#5C4A2AFF"match.is_only_window holds while no other window is on the workspace:
# No borders when a window is on its own[[window_rule]]match.is_only_window = trueborder_width = 0outer_border_width = 0- Floating windows count; pinned and scratchpad windows do not.
- It does not drive fullscreen or maximize. Those follow
match.is_alone; see Rules for a lone window.
match.is_cast_target holds while the window itself is captured:
# A green frame around the window being shared[[window_rule]]match.is_cast_target = trueborder_width = 5border_color_focused = "#40C057FF"border_color_unfocused = "#40C057FF"- It matches window shares and window screenshots, not whole-output shares.
- The frame is not part of the captured image, so viewers never see it.
Title bars
Section titled “Title bars”# Title bars only in the stacking layout[[window_rule]]match.layout = "stacking"title_bar = "on"This also covers windows floated by hand in stacking, without adding bars to floating windows in other layouts.
# Always a bar on the editor, except its Preferences window[[window_rule]]match.app_id = "^my-editor$"title_bar = "forced"
[[window_rule]]match.app_id = "^my-editor$"match.title = "^Preferences$"title_bar = "on"# Hide the bar while maximized to the edges[[window_rule]]match.is_maximized_to_edges = truetitle_bar = "off"- A rule overrides the global mode in either direction; an omitted key inherits it.
- Fullscreen and tab groups still hide the bar.
- Forcing a bar does not remove the application’s own headerbar.
The modes and the bar’s look are described in Title bars.
Applications with their own decorations
Section titled “Applications with their own decorations”# The app draws its own corners and shadow[[window_rule]]match.app_id = "^org[.]gnome[.]TextEditor$"border_width = 0corner_radius = 0shadow = falseTransparent content and blur
Section titled “Transparent content and blur”blur_ignore_alpha = 0.01skips blur under fully or nearly transparent pixels, while still blurring translucent content.- Some applications clear their content just before closing a window, which can leave a blurred rectangle for a moment.
blur_optimized = falseblurs the live content behind it instead of the wallpaper. - If a shadow outline remains, add
shadow = false. This removes the shadow from those windows entirely.
# Blur only where the app draws something[[window_rule]]match.app_id = "^example-app$"blur = trueblur_ignore_alpha = 0.01Effects
Section titled “Effects”# Scanlines on mpv, without the border effect[[window_rule]]match.app_id = "^mpv$"border_effect = "off"window_effect = "scanlines"Names refer to [effects.preset.<name>] or [effects.pool.<name>] tables of the matching kind; see Effects. A window keeps its pick from a pool across rule changes, and runtime overrides take precedence over rules (Pools).
Dim behind
Section titled “Dim behind”# Darken everything behind the launcher[[window_rule]]match.app_id = "^launcher$"dim_behind = 0.5- Content below the window on its output darkens; the window, its popups, and anything above it do not.
- It is suppressed in the overview and does not block pointer input.
- Several dimming windows stack.
- Add
match.is_focused = trueto dim only while the window is focused.