aboutsummaryrefslogtreecommitdiff
path: root/.config/firefox
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-29 22:03:43 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-29 22:03:43 +0200
commit0d2b513c31f8f285f2f72643aca20d253a91abf1 (patch)
treef38fa45fb883789bbcdbf26c3ce3454f00a2427a /.config/firefox
parent9ad84a288d37e840d6398ea164230521360ec82e (diff)
add firefox config + userchrome (WIP)
Diffstat (limited to '.config/firefox')
-rw-r--r--.config/firefox/chrome/userChrome.css1
-rw-r--r--.config/firefox/user.js19
2 files changed, 20 insertions, 0 deletions
diff --git a/.config/firefox/chrome/userChrome.css b/.config/firefox/chrome/userChrome.css
new file mode 100644
index 0000000..79d803c
--- /dev/null
+++ b/.config/firefox/chrome/userChrome.css
@@ -0,0 +1 @@
+/* this works */
diff --git a/.config/firefox/user.js b/.config/firefox/user.js
new file mode 100644
index 0000000..310c7b1
--- /dev/null
+++ b/.config/firefox/user.js
@@ -0,0 +1,19 @@
+// smooth scrolling
+user_pref("general.smoothScroll", true);
+user_pref("mousewheel.default.delta_multiplier_y", 75);
+user_pref("general.smoothScroll.msdPhysics.enabled", true);
+user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
+user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
+user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
+user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
+user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2");
+user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
+user_pref("general.smoothScroll.currentVelocityWeighting", "1");
+user_pref("general.smoothScroll.stopDecelerationWeighting", "1");
+
+// enable chrome/userChrome.css
+user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
+
+// enable userChrome debugging
+user_pref("devtools.chrome.enabled", true);
+user_pref("devtools.debugger.remote-enabled", true);