Browse Source

Firefox config

main
Yiğit Çolakoğlu 4 years ago
parent
commit
ec01c9be65
2 changed files with 32 additions and 0 deletions
  1. +26
    -0
      firefox/vimium.json
  2. +6
    -0
      install.sh

+ 26
- 0
firefox/vimium.json View File

@ -0,0 +1,26 @@
{
"settingsVersion": "1.66",
"exclusionRules": [
{
"pattern": "https?://mail.google.com/*",
"passKeys": ""
}
],
"filterLinkHints": false,
"waitForEnterForFilteredHints": true,
"hideHud": false,
"keyMappings": "# Insert your preferred key mappings here.",
"linkHintCharacters": "sadfjklewcmpgh",
"linkHintNumbers": "0123456789",
"newTabUrl": "about:newtab",
"nextPatterns": "next,more,newer,>,›,→,»,≫,>>",
"previousPatterns": "prev,previous,back,older,<,‹,←,«,≪,<<",
"regexFindMode": false,
"ignoreKeyboardLayout": false,
"scrollStepSize": 60,
"smoothScroll": true,
"grabBackFocus": false,
"searchEngines": "w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\n\n# More examples.\n#\n# (Vimium supports search completion Wikipedia, as\n# above, and for these.)\n#\n# g: https://www.google.com/search?q=%s Google\n# l: https://www.google.com/search?q=%s&btnI I'm feeling lucky...\ny: https://www.youtube.com/results?search_query=%s Youtube\n# gm: https://www.google.com/maps?q=%s Google maps\n# b: https://www.bing.com/search?q=%s Bing\n# d: https://duckduckgo.com/?q=%s DuckDuckGo\n# az: https://www.amazon.com/s/?field-keywords=%s Amazon\n# qw: https://www.qwant.com/?q=%s Qwant",
"searchUrl": "https://www.google.com/search?q=",
"userDefinedLinkHintCss": "#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {\n padding: 3px 4px;\n background: #444;\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\n#vimiumHintMarkerContainer div span {\n color: #fff;\n text-shadow: none;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter {\n opacity: 0.4;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter ~ span {\n color: hotpink;\n}\n\n#vomnibar {\n background: #444;\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n@keyframes show {\n 0% {\n transform: translateY(50px);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}\n\n#vomnibar .vomnibarSearchArea,\n#vomnibar input {\n color: #fff;\n background: transparent;\n border: none;\n}\n\n#vomnibar .vomnibarSearchArea {\n padding: 10px 30px;\n}\n\n#vomnibar input {\n padding: 0;\n}\n\n#vomnibar ul {\n padding: 0;\n background: #444;\n border-top: 1px solid #333;\n}\n\n#vomnibar li {\n padding: 10px;\n border-bottom: 1px solid #333;\n}\n\n#vomnibar li .vomnibarTopHalf,\n#vomnibar li .vomnibarBottomHalf {\n padding: 3px 0;\n}\n\n#vomnibar li .vomnibarSource {\n color: #aaa;\n}\n\n#vomnibar li em,\n#vomnibar li .vomnibarTitle {\n color: #aaa;\n}\n\n#vomnibar li .vomnibarUrl {\n color: #777;\n}\n\n#vomnibar li .vomnibarMatch {\n color: hotpink;\n font-weight: normal;\n}\n\n#vomnibar li .vomnibarTitle .vomnibarMatch {\n color: hotpink;\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: #333;\n}\n\ndiv.vimiumHUD {\n background: #444;\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\ndiv.vimiumHUD span#hud-find-input,\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: #fff;\n}\n\ndiv.vimiumHUD .hud-find {\n background-color: transparent;\n border: none;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background-color: transparent;\n}"
}

+ 6
- 0
install.sh View File

@ -141,6 +141,12 @@ sudo cp ~/.dotfiles/root/nancyj.flf /usr/share/figlet/fonts
# Config
cp ~/.dotfiles/config.env.def ~/.config.env
# Firefox
firefox-developer-edition -CreateProfile "yeet"
cp -r ~/.dotfiles/firefox/flyingfox/* ~/.mozilla/firefox/*.yeet
cp -r ~/.dotfiles/firefox/extensions ~/.mozilla/firefox/*.yeet
cp ~/.dotfiles/firefox/extensions.json ~/.mozilla/firefox/*.yeet
# Install vim and tmux plugins
mkdir -p ~/.tmux/plugins
vim -c ':PlugInstall'


Loading…
Cancel
Save