Lurker News
USB-C cables can be a mess. One cable charges at 5W, another does 100W and Thunderbolt 4, and they look identical in the drawer.

WhatCable sits in your menu bar and reads the cable data your Mac already has access to. Plug in a cable and it tells you in plain English what it can actually do: charging wattage, data speed, display support, Thunderbolt, etc.
Built in Swift/SwiftUI. Open source, free, no tracking.
GitHub: https://github.com/darrylmorley/whatcable

Comments (168) 42 threads

Show all comments

Showing thread 3 of 42

sagacity5 replies#
This is pretty nice, but why do a lot of Mac apps insist on living in the menu bar?
poisonborz4 replies#
Making 1 click to access is faster than typing the app name in finder. Dock is usually full and used for different type of apps. Makes also constantly visible output possible with standard ui patterns.
UqWBcuFx6NV4r2 replies#
OK, thanks. We understand what a menu bar is.

How is this conducive to the typical usage pattern of an app like this?

awakeasleep1 reply#
Are you saying you wish this was a desktop app and you would just open it occasionally when curious?

If so, it feels like a needlessly indirect and combative way to go about it.

Continue this thread — 1 reply

kranner5 replies#
For some reason the app supports a separate standalone window mode as well [0]. It's not clear why the developer took the trouble to support two different modes when the menubar mode doesn't seem to add anything (like a live-updating icon for throughput).

Well, I can think of one reason why it wasn't that much more trouble. François Chollet had a nice tweet [1] on why removing human cognitive friction is resulting in needless software complexity.
[0] https://github.com/darrylmorley/whatcable/blob/main/Sources/...
[1] https://x.com/fchollet/status/2045929951539707957

Continue this thread — 5 replies

lxgr2 replies#
> Dock is usually full

My menu bar is also full and, unlike the Dock, I can’t resize it to fit more.

poisonborz7 replies#
You can put it in a secondary onclick taskbar with Ice (similarly to Windows)

Continue this thread — 7 replies

efskap#
Sure you can.

defaults -currentHost write -globalDomain NSStatusItemSpacing -int 2
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 2
Replace write with delete to undo.

Someone2 replies#
And ‘every’ Mac developer thinks people will want to run their tool all the time.

For this kind of read-only tool, I doubt that’s the case. A regular application probably serves most users better.
Also, if you want users to have the option of permanently displaying this kind of info, a desktop widget (https://developer.apple.com/documentation/widgetkit) may be a better option than a menu bar item.

sgt#
Exactly, this should just be a regular app with an optional menu bar option for those who want to switch it on.
sleepingNomad#
I like this idea.
johanyc#
Spotlight exists. Typing is much faster than moving your cursor to a small target like a menu bar item.
mft_#
Agreed, especially for something like this that might get used a handful of times (I’m assuming most people don’t have myriad cables or want to check them regularly?)

The problem of course is that on my 14” screen the area to the right of the notch is already close to full and I don’t even have that many things there…

jrochkind1#
oh no you're right, my menu bar is full already.
sleepingNomad#
It works for me, but I understand for others it might not. So, there's now a "Show in menu bar" toggle in Settings. Turn it off and WhatCable runs as a regular Dock app with a normal window instead.
_Microft1 reply#
Is it not rather useful in this particular case? You will see the reported capabilities whenever you plug in a cable. Or do people rather want to diagnose and label their cables just once?
sagacity#
Sure, but do you diagnose cables so often that you need a permanent icon in the menu bar?

Following that logic, every application you use more than a handful of times should live there.
Anyway. I'm not trying to argue, I think this is a neat tool, but when the Windows tray got bloated with icons people used to complain about it.