diff --git a/extension.js b/extension.js
index 6addb77..dd07669 100644
--- a/extension.js
+++ b/extension.js
@@ -67,7 +67,7 @@ function changeMode(widget, event) {
}
else if (event.get_button() == 2) { // change font
fontmode++;
- if (fontmode > 3) {
+ if (fontmode > 4) {
fontmode=0;
}
settings.set_int('fontmode', fontmode);
@@ -136,8 +136,10 @@ function parseStat() {
let speed = (count - lastCount) / refreshTime;
let speedUp = (countUp - lastCountUp) / refreshTime;
+ // TEST
+ // lastSpeed = 199899999;
// speed= 1998999999;
- // speedUp= 998999999;
+ // speedUp= 99899999;
let dot = "";
if (speed > lastSpeed) {
diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled
index 6d4c39a..e11bdb7 100644
Binary files a/schemas/gschemas.compiled and b/schemas/gschemas.compiled differ
diff --git a/schemas/org.gnome.shell.extensions.simplenetspeed.gschema.xml b/schemas/org.gnome.shell.extensions.simplenetspeed.gschema.xml
index a921c55..b346099 100644
--- a/schemas/org.gnome.shell.extensions.simplenetspeed.gschema.xml
+++ b/schemas/org.gnome.shell.extensions.simplenetspeed.gschema.xml
@@ -6,7 +6,7 @@
0
-
+
0
diff --git a/stylesheet.css b/stylesheet.css
index 93c9082..65aaaf4 100644
--- a/stylesheet.css
+++ b/stylesheet.css
@@ -19,7 +19,7 @@
text-align: right;
margin-left: 1px;
margin-right: 2px;
- font-size: .8em;
+ font-size: .65em;
}
.simplenetspeed-label-w-1 {
@@ -27,7 +27,7 @@
text-align: right;
margin-left: 1px;
margin-right: 1px;
- font-size: .8em;
+ font-size: .65em;
}
.simplenetspeed-label-2 {
@@ -35,7 +35,7 @@
text-align: right;
margin-left: 1px;
margin-right: 2px;
- font-size: .9em;
+ font-size: .8em;
}
.simplenetspeed-label-w-2 {
@@ -43,19 +43,35 @@
text-align: right;
margin-left: 1px;
margin-right: 1px;
- font-size: .9em;
+ font-size: .8em;
}
.simplenetspeed-label-3 {
- width: 80px;
+ width: 70px;
text-align: right;
margin-left: 1px;
margin-right: 2px;
- font-size: 1.1em;
+ font-size: .9em;
}
.simplenetspeed-label-w-3 {
- width: 135px;
+ width: 120px;
+ text-align: right;
+ margin-left: 1px;
+ margin-right: 1px;
+ font-size: .9em;
+}
+
+.simplenetspeed-label-4 {
+ width: 85px;
+ text-align: right;
+ margin-left: 1px;
+ margin-right: 2px;
+ font-size: 1.1em;
+}
+
+.simplenetspeed-label-w-4 {
+ width: 160px;
text-align: right;
margin-left: 1px;
margin-right: 1px;