mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 02:08:35 +02:00
This is derived from my Awesome configuration. Still a lot to do from a WM perspective. The organization is a bit different and I am giving it up on the per-display systemd units as it does not really work due to the fact we only have one user DBus and one environment.
67 lines
2.1 KiB
JavaScript
67 lines
2.1 KiB
JavaScript
// Preferences for Firefox. To be symlinked in the profile as user.js.
|
|
// Settings synced through Firefox Accounts may not be present.
|
|
|
|
// Theme
|
|
user_pref("extensions.activeThemeID", "default-theme@mozilla.org");
|
|
user_pref("devtools.theme", "dark");
|
|
user_pref("ui.systemUsesDarkTheme", 0);
|
|
|
|
// Ensure context menus stay open after left-click (useful when scale
|
|
// == 1.5)
|
|
user_pref("ui.context_menus.after_mouseup", true);
|
|
|
|
// Don't display menubar when pressing Alt
|
|
user_pref("ui.key.menuAccessKeyFocuses", false);
|
|
|
|
// No popup at all!
|
|
user_pref("browser.link.open_newwindow.restriction", 0);
|
|
|
|
// Search settings
|
|
user_pref("browser.search.region", "FR");
|
|
user_pref("browser.search.suggest.enabled", false);
|
|
|
|
// Homepage is newtab. On launch, restore session.
|
|
user_pref("browser.startup.homepage", "about:newtab");
|
|
user_pref("browser.startup.page", 3);
|
|
|
|
// Languages
|
|
user_pref("intl.accept_languages", "en-us,en,fr");
|
|
|
|
// Disable pocket
|
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
|
user_pref("extensions.pocket.enabled", false);
|
|
|
|
// Don't recommend extensions
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
|
user_pref("browser.discovery.enabled", false);
|
|
|
|
// Backspace is like back
|
|
user_pref("browser.backspace_action", 0);
|
|
|
|
// Don't allow detaching a tab by pulling it
|
|
user_pref("browser.tabs.allowTabDetach", false);
|
|
|
|
// Don't display a close button for tabs
|
|
user_pref("browser.tabs.tabClipWidth", 1000);
|
|
|
|
// Don't display fullscreen warning
|
|
user_pref("full-screen-api.warning.timeout", 0);
|
|
user_pref("full-screen-api.transition.timeout", 0);
|
|
|
|
// Don't autoplay videos (even without audio)
|
|
user_pref("media.autoplay.default", 5);
|
|
|
|
// Remove some annoying animations (notably when going full screen)
|
|
user_pref("toolkit.cosmeticAnimations.enabled", false);
|
|
|
|
// Force enable WebRender
|
|
user_pref("gfx.webrender.all", true);
|
|
// And VAAPI decoding with ffmpeg
|
|
user_pref("gfx.x11-egl.force-enabled", true);
|
|
user_pref("media.ffmpeg.vaapi.enabled", true);
|
|
|
|
// Enable AVIF
|
|
user_pref("image.avif.enabled", true);
|
|
|
|
// Disable DoH for now
|
|
user_pref("network.trr.mode", 5);
|