Repository navigation
Conversation
aRustyDev
force-pushed
the
stack/3/macos-menubar
branch
from
October 30, 2026 03:33
47c0b10 to
15d74f6
Compare
aRustyDev
force-pushed
the
stack/3/macos-menubar
branch
from
October 30, 2026 03:47
15d74f6 to
8a3a995
Compare
This was referenced Oct 30, 2026
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.
TL;DR
Control the same Lowfi session from a macOS menu bar icon, with track status, Play/Pause, Next, and Quit. The frontend is optional and can run alongside the terminal or on its own.
Important
#blocked-by #140 (which is blocked by #139 and #138)
Please wait for #138, #139, and #140 to merge before reviewing this PR. The Files changed tab includes their configuration, testing, and core-refactor work because this PR targets
main. After they merge, I’ll rebase this branch so the diff contains only the menu bar frontend.Incremental menu bar diff for reference.
Changes
menubarfrontend and optional native dependencies, enabled withcargo run --features menubar.[interfaces].mode:terminal,terminal-and-menubar, ormenubar; also configurable throughLOWFI_INTERFACES__MODE. A macOS build with the feature defaults to both interfaces; other builds default to terminal.Why this approach
Terminal controls require returning to the terminal. A small native menu makes the common actions available while using another app, while leaving the terminal layout intact.
AppKit stays on the main thread and playback runs on a worker, matching the native event-loop requirements. Reusing the core boundary avoids a second playback implementation. A separate daemon or full desktop window would add lifecycle and interface complexity beyond these controls. The feature gate keeps the native dependencies optional. Menu-only mode stays in the foreground and skips terminal setup/input.
Validation
Default and no-default suites, macOS feature-enabled tests, curated feature checks, and mutation inventories passed. Icon tests rasterize the asset at multiple menu sizes. Private-item documentation passes with broken rustdoc links denied. Live AppKit interaction and audio-device playback were not exercised; macOS Now Playing integration is not implemented here.