Skip to content

Add max-windows option to hyprland/workspaces#4981

Open
xiyori wants to merge 1 commit intoAlexays:masterfrom
xiyori:max-windows
Open

Add max-windows option to hyprland/workspaces#4981
xiyori wants to merge 1 commit intoAlexays:masterfrom
xiyori:max-windows

Conversation

@xiyori
Copy link
Copy Markdown

@xiyori xiyori commented Apr 9, 2026

Implements #4980

Summary

  • add max-windows option
  • limit the number of windows by this option in both taskbar and window-rewrite mode
  • max-windows oldest created windows are shown

Configuration Examples

"hyprland/workspaces": {
    "format": "{windows}",
    "max-windows": 1,
    "workspace-taskbar": {
        "enable": true
    }
}
"hyprland/workspaces": {
    "format": "{windows}",
    "max-windows": 1,
    "window-rewrite": {
        "class<kitty> title<rmpc>": "󰎇"
    }
}

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