Repository navigation
feat: give each screen setup its own bar - #133
Merged
Merged
Conversation
Seb-GRAF
force-pushed
the
feat/screen-setups
branch
from
October 21, 2026 06:14
c713b75 to
d71a203
Compare
Seb-GRAF
enabled auto-merge
October 21, 2026 06:15
|
🎉 This PR is included in version 0.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The bar should fit whichever screens are connected: the laptop alone, a monitor alone, both, or with a vertical monitor. Today one configuration serves every combination. To show fewer widgets on the laptop screen when it sits beside a monitor, you have to write profile overrides in JSON (#123). Setup also asked for widget sets in a step of their own instead of offering a ready-made bar.
Fixes #123 with screen setups instead of profiles. Replaces #128, and #124 before it, which both took the profile route.
Changes
setup-laptop+monitor.json. The button sits at the bottom of Your bar, Appearance and General, and in Settings → General → Screen setups. From then on, Settings, bar editing and command-line changes made while those screens are connected go to that file. StableBar switches files when a screen connects or disconnects. Use Shared Bar… moves a setup's file to the Trash.config.jsonas before. A setup's file is a normal configuration: includes, packages, profiles and$CONFIG_DIRwork as in the main file.displayaccepts"monitor","vertical"and an array of kinds, such as["builtIn", "vertical"]. The Screens picker in Your bar adds Landscape monitors, Vertical monitors and Several kinds of screens, which shows a switch for each kind. While editing the bar in place, a widget's context menu offers Hide on the kind of screen it was opened on, as long as the widget still shows on another kind.stablebar.schema.jsonlists the new kinds. The README gets a new Screen setups section and updates the display kinds, bar editing, saving in Settings and setup.Testing
swift teston top of main with fix: tell Settings and in-place bar editing apart in the menus #134: 246 XCTest and 355 Swift Testing tests pass. With fix: keep notification clearance from freezing the bar #129 merged on top as well, 246 XCTest and 358 Swift Testing tests pass.npx commitlintpasses for both commits.--validatepasses forResources/config.jsonand theinteractive,modularandwindow-clearanceexamples.presentationfails with "Package file does not exist: package.json." The current release fails the same way.showScreenSetupcall that the screen-change notification makes. Screenshots are left out at the maintainer's request.Merging
Use a merge commit so that both
feat:commits, setup presets and screen setups, reach the changelog.Claude Opus 5.5 via Claude Code in T3 Code