paradoxxxzero / gnome-shell-system-monitor-applet

Display system informations in gnome shell status bar, such as memory usage, cpu usage, network rates…
GNU General Public License v3.0
1.75k stars 322 forks source link

LED type blink display for disk #333

Open rickysarraf opened 7 years ago

rickysarraf commented 7 years ago

Thanks for this wonderful extension.

For disk, you already have good reporting along with Reads and Writes. Would it be possible to add a "Display Style" of type 'LED' ?

When selected, this could show red/green color blinks (dot) for disk activity. This will be nice, as well as essential for modern laptops that ship with out any hardware led for disks.

rickysarraf commented 7 years ago

image

I'm trying to play with and understand the shell extensions and JS. What I'm suggesting is something like in the screenshot. The dots next to R and W could work as LED. They need to blink and have color codes. Red for Write and Green/Cyan for Read

rickysarraf commented 7 years ago

I also cut out the 'MiB/s' diskunits text because it was consuming way too much of the precious top bar space.

image

rickysarraf commented 7 years ago

I hope you won't mind me asking a generic question here. From a power saving point of view, is this extension resource hungry ?

I see you have defined Refresh Time for each components. As I see it, are you reading those file every "refreshTime" intervals ? In that case, will it hurt power savings in general.