Skip to content

feat(sway/workspaces): Add CSS class to identify workspaces by number - #5336

Open
turbodt wants to merge 1 commit into
Alexays:masterfrom
turbodt:feat/workspace-number-css-class
Open

turbodt wants to merge 1 commit into
Alexays:masterfrom
turbodt:feat/workspace-number-css-class

Conversation

@turbodt

@turbodt turbodt commented Sep 18, 2026

Copy link
Copy Markdown

What does this PR do?
It exposes a CSS class to match sway workspaces' buttons by workspace index.

Related issues
Closes #

Checklist

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

@greptile-apps

greptile-apps Bot commented Sep 18, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with no concrete correctness, security, or repository-rule issues identified.

Summary

This PR exposes each Sway workspace's numeric index as a GTK CSS class and documents the new selector.

  • Adds workspace-index-${index} to workspace buttons when they are created.
  • Documents the selector in the Sway workspaces manual page.

Reviews (1) · Last reviewed commit: "feat(sway/workspaces): Add CSS class to ..."

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