Repository navigation
Description
Problem
Settings tuned for one theme, such as widget paddings sized for its pills or a date drawn as an accent chip, live in the main file and apply under every theme. Putting them in a profile only helps if you switch the profile on and off by hand whenever you change theme. Profiles match appearance, onBattery, displayCount, externalDisplay and app, but not the theme (ProfileConditions in Sources/StableBar/ThemeConfiguration.swift).
This is parts 1 and 2 of #666. Parts 3 and 4 (an Every theme / Only with Fern switch in Theme and Style, and a Theme notice that moves overrides into the theme's profile) stay in #666.
Proposal
-
A
themeprofile condition that matches the ID of the theme the bar is drawn with, at any version:{ "name": "Fern", "when": { "theme": "fern" }, "configuration": { "widgetOverrides": { "date": { "background": "@token.accent" } } } }built-inmatches Built-in, including a selected theme turned off with"enabled": false.- A theme set for one kind of screen under
screens, a screen setup's own bar, and the theme being tried in Try Themes each count as the theme on that bar. composeFilesinSources/StableBar/ConfigurationLoader.swiftsettles the theme beforefinishmatches profiles, so a profile can't change the condition it depends on.- Older versions treat a condition they don't know as never matching, so such a profile just stays off there.
-
Settings → Profiles → + Condition → The theme is… lists Built-in and each bundled or installed theme once, whatever its version. The chip reads "Fern is the theme".
Possible today
Only by hand: turn the profile off before switching theme and on again after.
Related
- Keep settings tuned for one theme from applying under every other theme #666, the full proposal. This issue is its parts 1–2.
- Delete a profile from Settings → Profiles #667 / feat: delete a profile from Settings → Profiles #668: deleting profiles. A profile with this condition is still the user's own and can still be deleted.
Triaged by Claude Code (Claude Opus 5.5).
Activity
stablebar-releases commentedon Nov 16, 2026
🎉 This issue has been resolved in version 0.16.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀