Disk usage color

I have tried to search for this but haven’t had any luck as most disk usage threads are about the wrong size showing up.

It seems the disk usage color is based on a percentage, is there a way to change this? I like to see the green color and don’t need to worry about my disk usage when i have ~3TB free. I am assuming this number can be changed somewhere? Looking for a warning color closer to 1TB space remaining.

I stay on top of my usage, it is just a little bit of my OCD kicking in wanting a green color LOL.

Check out /srv/rutorrent/home/widgets/disk_data.php at about line 94 you will see the following:

<?php
     if ($perused < "70") { $diskcolor="progress-bar-success"; }
     if ($perused > "70") { $diskcolor="progress-bar-warning"; }
     if ($perused > "90") { $diskcolor="progress-bar-danger"; }
?>

You can then change these values accordingly. :smiley:

1 Like

thanks for the quick reply JMSolo! I figured it would be in the config for the widget but was having trouble finding the exact location.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.