diff --git a/extension.js b/extension.js
index 4634030..7892e8a 100644
--- a/extension.js
+++ b/extension.js
@@ -155,7 +155,7 @@ class Extension {
const float BURN_RANGE = 0.1;
const float BURN_TIME = 0.2;
const vec2 FIRE_SCALE = vec2(400, 600);
- const float FIRE_SPEED = 0.5;
+ const float FIRE_SPEED = ${this._settings.get_double('flame-movement-speed')};
float rand(vec2 co) {
return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453);
diff --git a/prefs.js b/prefs.js
index 7d840e5..a024c8f 100644
--- a/prefs.js
+++ b/prefs.js
@@ -44,6 +44,7 @@ var PreferencesDialog = class PreferencesDialog {
// Bind all properties.
this._bindAdjustment('destroy-animation-time');
+ this._bindAdjustment('flame-movement-speed');
this._bindColorButton('fire-color-1');
this._bindColorButton('fire-color-2');
this._bindColorButton('fire-color-3');
diff --git a/resources/ui/settings.ui b/resources/ui/settings.ui
index 9db75ed..3de9c22 100644
--- a/resources/ui/settings.ui
+++ b/resources/ui/settings.ui
@@ -86,6 +86,52 @@
+
+
+
+
0
diff --git a/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml b/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml
index 6db60dd..65c6c52 100644
--- a/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml
+++ b/schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml
@@ -9,6 +9,12 @@
The time it takes to burn the windows.
+
+ 0.5
+ Flame Movement Speed
+ The speed at which the flames move.
+
+
"rgba(76, 51, 25, 0.0)"
Fire Color 1