Displays the title and/or icon of the currently focused window. ![Screenshot of focused widget, showing this page open on firefox](https://user-images.githubusercontent.com/5057870/184714118-c1fb1c67-cd8c-4cc0-b5cd-6faccff818ac.png) ## Configuration > Type: `focused` | Name | Type | Default | Description | |--------------|-----------|---------|---------------------------------| | `show_icon` | `boolean` | `true` | Whether to show the app's icon | | `show_title` | `boolean` | `true` | Whether to show the app's title | | `icon_size` | `integer` | `32` | Size of icon in pixels | | `icon_theme` | `string` | `null` | GTK icon theme to use |
JSON ```json { "end": [ { "type": "focused", "show_icon": true, "show_title": true, "icon_size": 32, "icon_theme": "Paper" } ] } ```
TOML ```toml [[end]] type = "focused" show_icon = true show_title = true icon_size = 32 icon_theme = "Paper" ```
YAML ```yaml end: - type: "focused" show_icon: true show_title: true icon_size: 32 icon_theme: "Paper" ```
Corn ```corn { end = [ { type = "focused" show_icon = true show_title = true icon_size = 32 icon_theme = "Paper" } ] } ```
## Styling | Selector | Description | |--------------------------|--------------------| | `#focused` | Focused widget box | | `#focused #icon` | App icon | | `#focused #label` | App name |