Hello! I've spent a few hours reading and tinkering with the excellent Infinimal skin, however I can't change the HDD display to how I'd prefer.
I'd like the HDD text to show remaining space rather than used/total, and always in GB (never autoscaling to TB). Any help doing this would be greatly appreciated!
node wrote: ↑June 1st, 2019, 1:42 pm
I'd like the HDD text to show remaining space rather than used/total,
Just remove the InvertMeasure option of the [measureUsedDisk1] measure (or alternatively replace it with InvertMeasure=0).
If in plus you'd like to not get the total space, replace the Text option of the [meterValueDisk1] meter with Text=%1.
node wrote: ↑June 1st, 2019, 1:42 pm
I'd like the HDD text to show remaining space rather than used/total, and always in GB (never autoscaling to TB). Any help doing this would be greatly appreciated!
In this case you have to calculate manually the space in GB. Add the following Calc measure to your code:
This measure returns the space in GB. Now you have to modify the [meterValueDisk1] meter, to properly show the value of this newly added measure. Remove the AutoScale=1 option and replace the Text option with the following one: Text=%1GB. Also replace the MeasureName option with MeasureName=measureUsedDisk1GB. Since the meter now shows the value returned by one single measure, you can remove the MeasureName2 option.
Note a few other details:
The !Rainmeter... bang prefix is deprecated. Don't use, simply remove it. For example instead of the !RainmeterSetVariable bang used into the IfAboveAction option of the [measureAccessDisk1] measure, use the following one: IfAboveAction=[!SetVariable hddLedColor "#colorBar#"]
Also note that beside removing the !Rainmeter... prefix above, I also added brackets and quotation marks. Although none of these is absolutely needed, it's a good idea to get used to use them. In future can avoid a headache.