Skip to content

active_window

Shows the active window icon and title for the current output. The window icon uses global [shell.app_icon_colorize] when enabled (see Shell → App icon colorization).

SettingTypeDefaultDescription
min_lengthnumber80Minimum widget length in pixels
max_lengthnumber260Maximum widget length in pixels
icon_sizenumber14Icon size in pixels
title_scrollstring"none"Title scrolling mode: "none", "always", or "on_hover"
displaystring"icon_and_text"Content mode on horizontal bars: "icon_and_text", "icon_only", or "text_only". Vertical bars show the icon only when a window is focused.
show_empty_labelboolfalseWhen enabled, show “No active window” instead of hiding the widget when no window is focused
[widget.active_window]
min_length = 80
max_length = 260
icon_size = 14
title_scroll = "on_hover"
display = "icon_and_text"
show_empty_label = true