Feature req: Show/Hide wifi status in menu
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- bash, shell
- Domain
- cli, operating-systems
Research direction
Start with the Network preferences behavior and the defaults system, using the com.apple.systemuiserver settings and NSStatusItem Visible com.apple.menuextra.airport key shown in the issue. Determine the command-line incantation that toggles the Wi-Fi menu-bar status, then verify that the setting changes as expected.
Written by the indexing model from the issue text.
Description
Not sure if this is easy/hard/impossible, but I'd like a scripted way to toggle the "Show Wi-Fi status in menu bar" setting from the Network preferences screen. I think this uses the defaults system and updates something like NSStatusItem Visible com.apple.menuextra.airport" = 1; but I don't know the proper incantation to simulate the Preferences Pane behavior via command line.
"com.apple.systemuiserver" = {
"NSStatusItem Visible Siri" = 0;
"NSStatusItem Visible com.apple.menuextra.airport" = 1;
"NSStatusItem Visible com.apple.menuextra.battery" = 1;
"NSStatusItem Visible com.apple.menuextra.bluetooth" = 1;
"NSStatusItem Visible com.apple.menuextra.clock" = 1;
"NSStatusItem Visible com.apple.menuextra.textinput" = 1;
"__NSEnableTSMDocumentWindowLevel" = 1;
"last-messagetrace-stamp" = "497807700.002411";
menuExtras = (
"/System/Library/CoreServices/Menu Extras/Clock.menu",
"/System/Library/CoreServices/Menu Extras/TextInput.menu",
"/System/Library/CoreServices/Menu Extras/Bluetooth.menu",
"/System/Library/CoreServices/Menu Extras/Battery.menu",
"/System/Library/CoreServices/Menu Extras/AirPort.menu"
);
};
- Dominant language
- Shell
- Stars
- 9.9k
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rgcr/m-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Automated test suite Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 32/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·