Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a taskbar squash option #3740

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NoakPalander
Copy link

@NoakPalander NoakPalander commented Nov 2, 2024

Haven't found any existing options that can achieve this, if I'm incorrect then please point me out to how. Otherwise:

Added a squash-list option to wlr/taskbar that takes titles or app_id's, when set then at most 1 icon can be shown of the same app id. E.g if 15 Firefox instances is opened and "squash-list": ["firefox"] is set, then only 1 Firefox icon is displayed. The value * can be used to make it apply to all title/ids.

This also doesn't interfere with ignore-list that takes higher priority.

When the only visible instance of an application is killed, assuming there's more instances open, it finds any suitable one and shows that task's button instead in order to maintain one icon per application.

@sjoblomj
Copy link
Contributor

I like the idea of this, but it seems a little bit buggy:

  • If I click three times on a squashed application, it vanishes.
  • If I use "squash-list": ["*"], I see no applications at all in the task bar.

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.

2 participants