I want to be able to hide and show the Wi-Fi menu item from the Terminal. Can I do this with the defaults
command?
I've narrowed it down to com.apple.systemuiserver
. It looks like this:
{
"NSWindow Frame NoTimeLeft" = "471 437 475 163 0 0 1366 746 ";
"__NSEnableTSMDocumentWindowLevel" = 1;
menuExtras = (
"/System/Library/CoreServices/Menu Extras/Script Menu.menu",
"/System/Library/CoreServices/Menu Extras/AirPort.menu",
"/System/Library/CoreServices/Menu Extras/TimeMachine.menu",
"/System/Library/CoreServices/Menu Extras/Battery.menu",
"/System/Library/CoreServices/Menu Extras/Clock.menu"
);
}