AlShakib / InternetSpeedMeter

A simple and minimal internet speed meter extension for Gnome Shell
GNU General Public License v3.0
37 stars 11 forks source link

Make showed text fixed. #22

Closed larryw3i closed 7 months ago

larryw3i commented 8 months ago

Hey @AlShakib ,

I have made some changes for InternetSpeedMeter, the showed speed text almost changes its position every time threshold, I

  1. change the font-family to monospace for fixing it, and fix its width,
  2. remove the arrow and then it takes less space,
  3. use prettier to format the *.js files via pre-commit, and I formatted src/extension.js.

Hope you spend some leisure time for checking these changes and merge them if you don't mind.

Regards, larryw3i

larryw3i commented 8 months ago

I set the net speed decimal places to 1, it seems too many decimal places are unnecessary for user to check the net speed.