Skip to content

feat: scale the bar per display type and hide empty workspace widgets - #11

Merged
Seb-GRAF merged 4 commits into
mainfrom
feat/per-display-scaling
Oct 15, 2026
Merged

Seb-GRAF merged 4 commits into
mainfrom
feat/per-display-scaling

Conversation

@Seb-GRAF

Copy link
Copy Markdown
Collaborator

Work from earlier sessions that was left uncommitted, rebased onto #10.

Changes

  • Per-display scale. bar.displayScale, for example { "builtIn": 0.85, "external": 1 }, scales the bar height, widgets, text and spacing on each display type. The offset and popups stay in screen points, and the setting works inside profiles. The keys are validated like the rest of the configuration since feat: save edits in ordinary keys, edit the bar live and validate configuration #10: unknown display types and factors of zero or less are rejected instead of ignored or dividing the layout by zero. The schema has a matching entry.
  • Workspace widgets are hidden on displays that have no workspaces to show, and the workspace row grows when an empty workspace becomes visible instead of keeping its old width.
  • Menus. The bar's right-click menu gains Customize StableBar…, the status-item menu lists it first, and "Open configuration…" becomes "Open configuration file…".

Merging

Use a merge commit or a rebase merge so semantic-release sees each commit.

Testing

@Seb-GRAF
Seb-GRAF merged commit 3f5172a into main Oct 15, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant