DanielStormApps / Fanny

Monitor your Mac's fan speed and CPU/GPU temperature from your Notification Center.
https://www.FannyWidget.com
MIT License
1.33k stars 103 forks source link

Feature request: Display CPU temperature in the statusbar #42

Closed asvela closed 4 years ago

asvela commented 4 years ago

Hi Daniel,

Thanks for this great app!

I was looking for a temperature monitoring app that displays the CPU temperature in the menubar when I came across Fanny. Is this a feature that could be included, i.e. just swapping the static menubar icon with the current temperature?

I have no experience whatsoever with Swift or macOS development, but apparently something as simple as statusBarItem.button?.title = SMC.shared.cpuTemperatureAverage.formattedTemperature() in FNYStatusBar.swift should do it? As I am not familiar with swift and would not know how to make sure it updates at the set refresh rate and implement a preference setting for icon or CPU temperature (maybe even choose to display the GPU temp in addition/instead et cetera et cetera) I don't think it would be very helpful if I gave it a go myself.