dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit 6158945748738a5f61b8df683dfbf980af9ddb28
parent 01d03f1a94f0ec3e98b646910c2d1556207597ff
Author: Duncaen <mail@duncano.de>
Date:   Fri, 11 Aug 2017 19:11:41 +0200

firefox: compact theme and default setting changes

Diffstat:
install.sh | 5+++--
user.js | 4+++-
userChrome.css | 42++++++++++++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+), 3 deletions(-)

diff --git a/install.sh b/install.sh @@ -97,10 +97,11 @@ _firefox() { for p in ~/.mozilla/firefox/*/; do p="${p%/*}"; p="${p##*/}" case "$p" in *backup*|*crashrecovery*|"") continue ;; esac - printf " %s" "'${p}'" + printf " %s\n" "'${p}'" _ln_home "user.js" ".mozilla/firefox/$p/user.js" + mkdir -p "$HOME/.mozilla/firefox/$p/chrome" + _ln_home "userChrome.css" ".mozilla/firefox/$p/chrome/userChrome.css" done - printf "\n" } : ${PWD:=$(pwd)} diff --git a/user.js b/user.js @@ -7,8 +7,9 @@ user_pref('browser.fullscreen.animate', false); user_pref('browser.tabs.animate', false); user_pref('browser.download.animateNotifications', false); +user_pref('browser.urlbar.oneOffSearches', false); user_pref('browser.urlbar.trimURLs', false); -user_pref('browser.urlbar.unifiedcomplete', false); +user_pref('browser.urlbar.unifiedcomplete', true); user_pref('browser.urlbar.daysBeforeHidingSuggestionsPrompt', 0); user_pref('browser.search.suggest.enabled', false); @@ -113,6 +114,7 @@ user_pref('dom.indexedDB.enabled', false); user_pref('dom.enable_user_timing', false); user_pref('dom.netinfo.enabled', false); user_pref('dom.netinfo.enabled', false); +user_perf('dom.push.enabled', false); user_pref('device.sensors.enabled', false); user_pref('camera.control.face_detection.enabled', false); diff --git a/userChrome.css b/userChrome.css @@ -0,0 +1,42 @@ +:root { + --tab-selection-background-color: var(--chrome-secondary-background-color) !important; + --tab-selection-color: var(--chrome-secondary-color) !important; + + --chrome-nav-buttons-background: var(--chrome-secondary-background-color) !important; + --toolbarbutton-hover-background: none !important; + + --tab-min-height: 21px !important; + --tab-curve-width: 20px !important; + + --url-and-searchbar-background-color: var(--chrome-secondary-background-color) !important; +} + +.tab-close-button:not(:hover):-moz-lwtheme-darktext { + /* light only */ + background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 96, 16, 80) !important; +} + +#urlbar { + background-color: var(--chrome-secondary-background-color) !important; +} + +.scrollbutton-up, .scrollbutton-down { + min-width: 0 !important; +} + +.toolbarbutton-icon, toolbarbutton, .toolbarbutton-badge-stack, #urlbar, .urlbar-input-box, #reload-button, #urlbar-go-button, #stop-button { + border: none !important; +} + +#back-button { + padding-inline-start: 0 !important; + padding-inline-end: 0 !important; +} + +#nav-bar { + max-height: 28px !important; +} + +#nav-bar toolbarbutton { + padding: 0 !important; +}