macOS support + new themes + background transparency#2
Open
prophesourvolodymyr wants to merge 4 commits into
Open
macOS support + new themes + background transparency#2prophesourvolodymyr wants to merge 4 commits into
prophesourvolodymyr wants to merge 4 commits into
Conversation
- monitor_darwin.go: macOS bandwidth monitor using `netstat -ib` (build-constrained with //go:build darwin, zero impact on Linux/Windows) - theme.go: macOS transparency fix via runtime.GOOS guard; new themes: Mono, Signal, Ink (all true-black #000000 backgrounds) - card.go: per-theme logo gradient via LogoStops on Theme struct - menu/model/monitor: pass LogoStops to renderHeader
- theme.go: atomic.TransparentBg flag skips background fill on macOS - settings.go: new Terminal BG panel (key 4) with enter/space toggle - DB persistence via transparent_bg setting key - README: macOS install instructions + transparency known issue note - README: updated theme count to 14, added mono/signal/ink
Skip lipgloss.WithWhitespaceBackground when TransparentBg is true so the outer canvas area also shows the terminal's native background.
Call apptheme.TransparentBg.Store in NewApp so the preference takes effect immediately on launch, not only after entering Settings.
prophesourvolodymyr
force-pushed
the
main
branch
from
July 11, 2026 04:02
cc22bcb to
a552c8d
Compare
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.
I was disappointed riptide wasn't available on macOS, so I ported the bandwidth monitor and fixed it up for darwin.
What changed
macOS support
monitor_darwin.go— live bandwidth monitor for macOS usingnetstat -ibto read network interface counters//go:build darwin— zero impact on Linux/WindowsNew themes (3)
Per-theme logo gradient
LogoStopson the Theme structBackground fill on macOS
PaintScreenwraps content lines withAppBgon macOS only (runtime.GOOSguard)4) — toggle opaque/transparent, persisted to DBREADME
Known issue — terminal transparency on macOS
On terminals with transparency enabled (Ghostty, iTerm2), lipgloss ANSI reset codes leave small background gaps exposing the desktop. Use Settings → Terminal BG (key
4) to work around it. Core features (speed test, monitor, themes, history) are unaffected.Notes
runtime.GOOSis compile-time constant — darwin path eliminated from Linux/Windows binariessync/atomicfor goroutine safety