Skip to content

feat: let Fern fill its pills without a group on each widget - #48

Merged
M4n0x merged 4 commits into
mainfrom
feat/fern-group-members
Nov 17, 2026
Merged

M4n0x merged 4 commits into
mainfrom
feat/fern-group-members

Conversation

@M4n0x

@M4n0x M4n0x commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Note

#54 is merged, so the index keeps Fern 1.2.1 listed first next to 1.3.0. StableBar 0.17.0 keeps getting 1.2.1, since it takes the first entry for a package. Builds with stablebox/StableBar#776 take 1.3.0 once they can run it. Until #776 is in a beta, the 0.18.0 betas also get 1.2.1 from the Store.

Package

Fern 1.3.0, the theme. Fern now fills its pills itself: while it's selected, the workspaces, clocks, System, Disk, Now playing and status widgets sit in its pills without a group on each widget, and they leave the pills under another theme.

Changes

  • Each group lists its members:
    • workspaces: workspaces
    • clock: clock
    • media: { "id": "now-playing" }, the Store's Now playing
    • system: system
    • disk: disk
    • status: audio, wifi, network, bluetooth and battery
  • minimumVersion is 0.18.0-beta.20261116211548.1210, the first beta with members (feat: let a theme put widgets into its groups StableBar#731). Since fix: accept a package that needs a beta on that beta's own release StableBar#764, StableBar orders a release after its betas, so 0.18.0 would have refused every 0.18.0 beta.
  • README: the Pills section lists the pills and their widgets. It says how to add a widget of your own with group (in a profile with "when": { "theme": "fern" }, or with an empty group in the configuration), and how to keep widgets out by setting a group's members in such a profile.
  • A widget's own group still wins, so existing configurations look the same.

Testing

  • check-package.sh with StableBar 0.18.0-beta.20261117092929.1257: Valid configuration: 0 widgets in 5 files. With 0.17.0 it's refused, which check-package.sh allows (not checked on StableBar 0.17.0, the latest release, which its minimumVersion … is above). CI checks main with the bare binary, which has no version.
  • check-versions.sh origin/main passes.
  • Offscreen renders (--render-scenes) of one bar where no widget has a group, drawn with Fern 1.2.1 and 1.3.0 from main:
Fern 1.2.1 Fern 1.3.0
Dark
Light

Not checked: a live bar with Fern 1.3.0.

Claude Opus 5.5 via Claude Code

Fern's groups now list their members, which StableBar 0.18 adds (stablebox/StableBar#727):
workspaces, clocks, System, Disk, Now playing by its ID, and the audio, Wi-Fi, network,
Bluetooth and battery widgets. Under another theme the widgets leave the pills, so switching
themes no longer needs a group on each widget or empty groups in the configuration.

minimumVersion is 0.18.0, the first release with members. The README's Pills section says how
to add a widget to a pill or keep one out.
StableBar orders a release after its betas, so "minimumVersion": "0.18.0" refused every 0.18.0
beta. Name the first beta with group members instead, 0.18.0-beta.20261116211548.1210.
@M4n0x
M4n0x marked this pull request as ready for review November 17, 2026 10:46
@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner November 17, 2026 10:46
@M4n0x
M4n0x merged commit 8b2a8ee into main Nov 17, 2026
3 checks passed
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