nix-config/etc/user.js
Donovan Glover a42e4ad4d0
Major clean up overall
This commit:

- Moves the rest of the packages from packages.sh to PKGBUILD
- Updates the README to include upstream packages instead of relying on
  our own local versions of them
- Removes the rest of the legacy install scripts
- Adds some missing config options and other useful commands to the
  README and help files
- Removes the local copy of launch-cmd in favor of upstream instead
- Moves a variety of smaller help files to other.md
- Adds fish information to other.md
- Moves automation information to install-guide.sh
- Removes the local copy of Arch Silence in favor of upstream instead
- Updates theme_helper.cr before eventually removing it in favor of Mica
2018-01-28 23:57:11 -05:00

83 lines
3.2 KiB
JavaScript

/********************************************************************************\
*
* New Start: A modern Arch workflow built with an emphasis on functionality.
* Copyright (C) 2017 Donovan Glover
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
\********************************************************************************/
// Remove the large bar that prompts for multiple search providers
// even when you only have one search provider enabled
user_pref("browser.search.hiddenOneOffs", false);
user_pref("browser.urlbar.oneOffSearches", false);
// Disable search suggestions
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.urlbar.searchSuggestionsChoice", false);
user_pref("browser.urlbar.suggest.searches", false);
user_pref("browser.urlbar.timesBeforeHidingSuggestionsHint", 0);
// Use the light devtools theme and open it in a new window
user_pref("devtools.theme", "light");
user_pref("devtools.toolbox.host", "window");
user_pref("devtools.toolbox.selectedTool", "inspector");
// Enable scrolling by holding down the middle mouse button
user_pref("general.autoScroll", true);
// ============================================================================
// Other disabled content
// ============================================================================
// Disable web notifications
user_pref("dom.webnotifications.enabled", false);
// Disable location-aware browsing
user_pref("geo.enabled", false);
// Disable screen sharing, audio capture, and video capture
user_pref("media.navigator.video.enabled", false);
user_pref("media.getusermedia.screensharing.enabled", false);
user_pref("media.getusermedia.audiocapture.enabled", false);
// Disable speech recognition and synthesis
user_pref("media.webspeech.recognition.enable", false);
user_pref("media.webspeech.synth.enabled", false);
// Disable the gamepad API
user_pref("dom.gamepad.enabled", false);
// Disable the VR API
user_pref("dom.vr.enabled", false);
// Disable the vibrator API
user_pref("dom.vibrator.enabled", false);
// Disable other video features
user_pref("camera.control.face_detection.enabled", false);
// Set the default search engine to DuckDuckGo
user_pref("browser.search.defaultenginename", "DuckDuckGo");
user_pref("browser.search.order.1", "DuckDuckGo");
user_pref("keyword.URL", "https://duckduckgo.com/html/?q=!+");
// Explicitly declare the region for searches
user_pref("browser.search.countryCode", "US");
user_pref("browser.search.region", "US");
user_pref("browser.search.geoip.url", "");
// Always request the english version of a webpage
user_pref("intl.accept_languages", "en-us, en");