Skip to content

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 ​

FieldTypeDefaultDescription
iconstring"ld-layers-symbolic"Bar button icon.
border-showboolfalseDisplay border around button.
icon-showbooltrueDisplay module icon.
tooltipbooltrueShow the module's state in a tooltip on hover.
label-showbooltrueDisplay the number of background apps beside the icon.
label-max-lengthu320Max label characters before truncation with ellipsis. Set to 0 to disable.

Colors ​

FieldTypeDefaultDescription
border-colorColorValue"blue"Border color token.
icon-colorColorValue"auto"Icon foreground color. Auto selects based on variant for contrast.
icon-bg-colorColorValue"blue"Icon container background color token.
label-colorColorValue"fg-default"Label text color token.
button-bg-colorColorValue"bg-surface-elevated"Button background color token.

Click actions ​

FieldTypeDefaultDescription
left-clickClickAction"dropdown:background-apps"Action on left click. Default opens the dropdown.
right-clickClickAction""Action on right click.
middle-clickClickAction""Action on middle click.
scroll-upClickAction""Action on scroll up.
scroll-downClickAction""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: ""

Released under the MIT License.