background-apps
Background apps indicator.
Shows while a sandboxed app keeps running without a window, as the desktop portal's background monitor lists them; its dropdown names each app with the status it reports and a button that stops it.
Add it to your layout with background-apps:
yaml
bar:
layout:
- monitor: "*"
right: [background-apps]General
| Field | Type | Default | Description |
|---|---|---|---|
icon | string | "ld-layers-symbolic" | Bar button icon. |
border-show | bool | false | Display border around button. |
icon-show | bool | true | Display module icon. |
tooltip | bool | true | Show the module's state in a tooltip on hover. |
label-show | bool | true | Display the number of background apps beside the icon. |
label-max-length | u32 | 0 | Max label characters before truncation with ellipsis. Set to 0 to disable. |
Colors
| Field | Type | Default | Description |
|---|---|---|---|
border-color | ColorValue | "blue" | Border color token. |
icon-color | ColorValue | "auto" | Icon foreground color. Auto selects based on variant for contrast. |
icon-bg-color | ColorValue | "blue" | Icon container background color token. |
label-color | ColorValue | "fg-default" | Label text color token. |
button-bg-color | ColorValue | "bg-surface-elevated" | Button background color token. |
Click actions
| Field | Type | Default | Description |
|---|---|---|---|
left-click | ClickAction | "dropdown:background-apps" | Action on left click. Default opens the dropdown. |
right-click | ClickAction | "" | Action on right click. |
middle-click | ClickAction | "" | Action on middle click. |
scroll-up | ClickAction | "" | Action on scroll up. |
scroll-down | ClickAction | "" | Action on scroll down. |
Default configuration
yaml
modules:
background-apps:
icon: ld-layers-symbolic
border-show: false
border-color: blue
icon-show: true
tooltip: true
icon-color: auto
icon-bg-color: blue
label-show: true
label-color: fg-default
label-max-length: 0
button-bg-color: bg-surface-elevated
left-click: dropdown:background-apps
right-click: ""
middle-click: ""
scroll-up: ""
scroll-down: ""