SagerNet / SagerNet/sing-box

[Feature Request] macOS menu bar improvements: make icon semi-transparent when VPN is not active & right-click to toggle status

Open
#3,164 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
38.2k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

Now icon is always white. Other VPN apps (like Tunneblick on the screenshot) usually make icon semi-transparent when VPN is not active

Suggestion 1: make icon semi-transparent (something like 30% like other apps) when no profile is active in the sing-box.

Suggestion 2: make use of right mouse click to toggle active profile (turn off when it's on and turn on when it's off)
It's really cool when apps utilize high speed and make repeating actions like this in one click instead of two. If we start to show active status in the menu bar icon, this mouse shortcut would be very useful
It's not a common practice, but good for power users, especially if you add a description about this feature
Example where this is made is Flow app (green timer on the screenshot)

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the macOS menu bar icon implementation and the active-profile state, then trace how profile toggling is handled. Done means the icon reflects inactive status with reduced opacity and right-click toggles the active profile as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.