-
Hello, I've scoured the web and cannot find a good app showing SMART information about my external drive temperature in the menu bar. Using homebrew's smartctrl, I can get a script to output the drive temp in TERMINAL only. the variable just wont show up in SwiftBar unfortunately. Here is my script:Script: #Fetch SMART data for the drive #Extract specific columns for drive temperature (ID#194) and extract the numerical temperature value #Output the integer temperature to ensure it's correctly formatted Terminal output of script: MediaX1: 41°CSwiftbar output: MediaX1: °CHere is my smartctl output:smartctl 7.4 2023-08-01 r5530 [Darwin 23.4.0 arm64] (local build) === START OF READ SMART DATA SECTION === Any help would be greatly appreciated OR pointed in the right direction for support |
Beta Was this translation helpful? Give feedback.
Created a working script to solve the issue.