Skip to content

feat(mango/window): tooltip format and format-icons added on mango/window module - #5423

Open
daher13 wants to merge 1 commit into
Alexays:masterfrom
daher13:feat/mango/window
Open

daher13 wants to merge 1 commit into
Alexays:masterfrom
daher13:feat/mango/window

Conversation

@daher13

@daher13 daher13 commented Oct 28, 2026

Copy link
Copy Markdown

What does this PR do?

Added new options to mango/window module:

format-icons: Decide how icons are displayed based on app_id (differently from rewrite, this allows to choose icons for just some applications and set a default option too). The priority is set as follows:

  • Icon configured for this app_id (exact or lowercase match)
  • default option icon from the config if default option are not set on format-icons
  • The application's own icon, if icon option is set to true AND default option is not set
"mango/window": {
    "format": "{icon} {title}",
    "format-icons": {
        "brave-browser": "",
        "default": "" // overrides icon option
    }
}

format-tooltip: Set tooltip format. Accepts same placeholders as format option

"mango/window": {
    "tooltip-format": "<b>{app_id}</b> - {title}",
}

Checklist

  • Code is formatted with clang-format
  • Builds locally (ninja -C build)
  • Man page updated for any new/changed user-facing option (man/)
  • Tested against the affected module(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant