Skip to content

Comments

feat(hyprland/workspaces): grouping icons#4861

Open
eonphi wants to merge 1 commit intoAlexays:masterfrom
eonphi:master
Open

feat(hyprland/workspaces): grouping icons#4861
eonphi wants to merge 1 commit intoAlexays:masterfrom
eonphi:master

Conversation

@eonphi
Copy link

@eonphi eonphi commented Feb 14, 2026

This PR allows the hyprland/workspaces to group icons of the same type, most recently suggested by #4791.
There's two new config values for the module: window-rewrite-group-threshold determines the threshold at which grouping happens (including 1 should the user want that.. for consistency with singular icons, maybe), while set to 0 (default) no grouping will happen; window-rewrite-group-format is the formatting string for the icon groups, defaults to a simple {icon}×{count}, and with pango's markup can do things such as {icon}<span rise='3000' font_size='90%'>{count}</span> (a nicer-to-the-eyes alternative to baseline_shift=superscript), just as an example. I've attached three screenshots with no grouping, default with threshold 2, and the above span format string as an example.

no group (3)

group default example

group superscript example

Copy link
Contributor

@khaneliman khaneliman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and seems to work. Like the concept

khaneliman added a commit to khaneliman/khanelinix that referenced this pull request Feb 17, 2026
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