Skip to content

Report whether the Mac is on Wi-Fi, Ethernet or offline from the network provider #690

Closed

Description

@Seb-GRAF

Problem

The network provider reports throughput and interface names, not how the Mac is connected. A widget can't show a Wi-Fi symbol, a cable or an offline mark, which is what most people look at a network icon for. DuoBar's glyph (#641) shows exactly that in its center.

Proposal

  • fields.connection: wifi, ethernet, other or offline, for the path macOS sends traffic through, as the Network framework's path monitor reports it.
  • fields.connectionIcon: a matching SF Symbol (wifi, cable.connector, network or wifi.slash), for a symbol block with source. The provider's own icon stays network, since a provider's icon replaces the widget's: existing Network widgets look the same.
  • Both update as soon as the connection changes, without waiting for the provider's interval.
  • No permission: the path monitor doesn't need Location access, unlike the Wi-Fi network's name.

Possible today

Not from a package. A script can work it out from route get default and networksetup -listallhardwareports, but it polls, and a widgets package can't run commands.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 16, 2026
  2. stablebar-releases commented on Nov 16, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.16.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions