[hyprland/workspaces] workspace-taskbar always hides duplicate icons
bughyprlandcustomclock
**Describe the bug**
hyprland/workspaces workspace-taskbar always hides duplicate icons (windows with the same class) even with max-icons at the default value of 0, which should be unlimited.
```
*max-icons*: ++
typeof: int ++
default: 0 (unlimited) ++
Maximum number of icons to show per workspace. When set, duplicate icons (windows with the same class) are removed first, then the list is trimmed to this limit. Set to 0 for unlimited icons.
```
**To reproduce**
Open multiple terminal windows in a single workspace.
```jsonc
{
"position": "top",
"height": 28,
"modules-left": [
"hyprland/workspaces"
],
"hyprland/workspaces": {
"format": "{windows}",
"active-only": true,
"workspace-taskbar": {
"enable": true,
"update-active-window": true,
"reverse-direction": true,
"format": " {icon} {title:.80} ",
"on-click-window": "$HOME/.config/waybar/focus-window.sh {address} {button}"
}
}
}
```
**Expected behaviour**
If firefox, and three terminals are open on a workspace. Waybar should display firefox, and three terminals, instead it only displays firefox, and one terminal.
**Environment**
Waybar v0.15.0-947-g30610d3b (branch 'master')
Hyprland 0.56
Relevent commit https://github.com/Alexays/Waybar/commit/24dba2bb246b3b6988e1f86882b0458a834f7e93
关闭于 1 天前 0 条评论