diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-02 14:48:29 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-02 14:48:29 +0200 |
| commit | e43eb1177872f52e949fb5f0f93396ed94b0d093 (patch) | |
| tree | 78b73af6a989fa2996d71b112e161b70d35081ef /home/dot_config/firefox | |
| parent | 2f14a896e4b897bd747c24d7ad8e9e7bb3237d03 (diff) | |
move to chezmoi
Diffstat (limited to 'home/dot_config/firefox')
| -rw-r--r-- | home/dot_config/firefox/chrome/userChrome.css | 39 | ||||
| -rw-r--r-- | home/dot_config/firefox/user.js | 60 |
2 files changed, 99 insertions, 0 deletions
diff --git a/home/dot_config/firefox/chrome/userChrome.css b/home/dot_config/firefox/chrome/userChrome.css new file mode 100644 index 0000000..330b18e --- /dev/null +++ b/home/dot_config/firefox/chrome/userChrome.css @@ -0,0 +1,39 @@ +/* hide shit */ +#alltabs-button, +#appMenu-fxa-status2, +#appMenu-fxa-separator, +#fullscreen-warning, +.findbar-highlight, +#urlbar-searchmode-switcher, +#translations-button, +#reader-mode-button +{ display: none !important; } + +/* undo shit */ +#urlbar, +#searchbar +{ font-size: unset !important; } + +/* make shit compact */ +body { font-size: 10pt; } +.tab-background { margin-block: 0 !important; } +#TabsToolbar { --toolbarbutton-inner-padding: 8px; } +:root { --tab-min-height: 24px !important; } +.tab-label-container { + height: unset !important; + margin-right: var(--toolbarbutton-inner-padding); +} + +.tabbrowser-tab +{ padding: 0 !important; } + +.tab-background, +#TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon +{ border-radius: 0 !important; } + +#nav-bar, +#navigator-toolbox +{ border: none !important; } + +#urlbar-input +{ padding: 0px 8px !important; } diff --git a/home/dot_config/firefox/user.js b/home/dot_config/firefox/user.js new file mode 100644 index 0000000..a18c1e9 --- /dev/null +++ b/home/dot_config/firefox/user.js @@ -0,0 +1,60 @@ +// opinion +user_pref("browser.toolbars.bookmarks.visibility", "never"); +user_pref("browser.quitShortcut.disabled", true); +user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false); +user_pref("layout.spellcheckDefault", 0); +user_pref("findbar.highlightAll", true); + +// i know what i'm doing +user_pref("browser.safebrowsing.downloads.enabled", false); +user_pref("browser.safebrowsing.malware.enabled", false); +user_pref("browser.safebrowsing.phishing.enabled", false); + +// i18n +user_pref("intl.regional_prefs.use_os_locales", true); +user_pref("layout.spellcheckDefault", 0); +user_pref("browser.translations.automaticallyPopup", false); + +// privacy +user_pref("signon.rememberSignons", false); +user_pref("datareporting.healthreport.uploadEnabled", false); +user_pref("app.shield.optoutstudies.enabled", false); +user_pref("dom.security.https_only_mode", true); +user_pref("dom.security.https_only_mode_ever_enabled", true); + +// smooth scrolling +user_pref("general.smoothScroll", true); +user_pref("general.smoothScroll.msdPhysics.enabled", true); +user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12); +user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25); +user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 1800); +user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2"); +user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 60); +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); + +// no first time ux +user_pref("trailhead.firstrun.didSeeAboutWelcome", true); +user_pref("app.normandy.first_run", false); +user_pref("browser.aboutConfig.showWarning", false); +user_pref("browser.aboutwelcome.didSeeFinalScreen", true); +user_pref("browser.bookmarks.addedImportButton", true); +user_pref("browser.bookmarks.restore_default_bookmarks", false); + +// no new tab page +user_pref("browser.newtabpage.enabled", false); +user_pref("browser.startup.homepage", "chrome://browser/content/blanktab.html"); + +// fonts +user_pref("font.default.x-western", "sans-serif"); +user_pref("font.name.monospace.x-western", "monospace"); +user_pref("font.name.sans-serif.x-western", "sans-serif"); +user_pref("font.name.serif.x-western", "serif"); + |