Skip to content

Commit

Permalink
adds firefox settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
gzagatti committed Sep 17, 2022
1 parent 91b1fc4 commit e0453d8
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 0 deletions.
36 changes: 36 additions & 0 deletions firefox/treestyletab.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"__ConfigsMigration__userValeusSameToDefaultAreCleared": true,
"animation": false,
"autoAttach": false,
"autoAttachOnDuplicated": 0,
"autoAttachOnNewTabButtonMiddleClick": 0,
"autoAttachOnNewTabCommand": 0,
"autoAttachOnOpenedFromExternal": 0,
"autoAttachSameSiteOrphan": 0,
"autoGroupNewTabsFromPinned": false,
"chunkedUserStyleRules0": "OnJvb3Quc2lkZWJhciB0YWItaXRlbSB7CiAgZm9udC1zaXplOiA5cHggIWltcG9ydGFudDsKfQoKLyogU2hvdyB0aXRsZSBvZiB1bnJlYWQgdGFicyB3aXRoIHJlZCBhbmQgaXRhbGljIGZvbnQgKi8KLyoKOnJvb3Quc2lkZWJhciB0YWItaXRlbS51bnJlYWQgLmxhYmVsLWNvbnRlbnQgewogIGNvbG9yOiByZWQgIWltcG9ydGFudDsKICBmb250LXN0eWxlOiBpdGFsaWMgIWltcG9ydGFudDsKfQoqLwoKLyogQWRkIHByaXZhdGUgYnJvd3NpbmcgaW5kaWNhdG9yIHBlciB0YWIgKi8KLyoKOnJvb3Quc2lkZWJhciB0YWItaXRlbS5wcml2YXRlLWJyb3dzaW5nIHRhYi1sYWJlbDpiZWZvcmUgewogIGNvbnRlbnQ6ICLwn5W2IjsKfQoqLw==",
"configsVersion": 26,
"insertNewChildAt": 3,
"notifiedFeaturesVersion": 9,
"optionsExpandedGroups": [
"group-allConfigs"
],
"optionsExpandedSections": [
"section-appearance",
"section-advanced",
"section-newTabWithOwner",
"section-newTab",
"section-treeBehavior",
"section-contextMenu",
"section-drag",
"section-addons",
"section-debug"
],
"showExpertOptions": true,
"sidebarPosition": 1,
"sidebarPositionRighsideNotificationShown": true,
"syncParentTabAndOpenerTab": false,
"userStyleRules": "",
"userStyleRulesFieldHeight": "153.3333282470703px",
"warnOnCloseTabsByClosebox": false
}
67 changes: 67 additions & 0 deletions firefox/userChrome.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
about:support > Profile Folder > Open Directory
https://firefox-source-docs.mozilla.org/devtools-user/settings/index.html
open Developer settings; select "Enable browser chrome and add-on debugging toolboxes" and "Enable remote debugging"
*/

:root {
--tab-min-height: 0 !important;
}

#tabs-newtab-button {
visibility: collapse !important;
}

.tabbrowser-tab {
visibility: collapse;
}

#titlebar {
margin-top: -8px;
}

#titlebar-spacer {
background-color: var(--chrome-secondary-background-color);
}

.titlebar-button {
height: 27px !important;
}

.titlebar-buttonbox-container {
margin-bottom: -10.5px;
margin-top: 4px;
margin-right: 5px;
}

.titlebar-color {
background-color: var(--toolbar-bgcolor);
}

#nav-bar {
box-shadow: none !important;
opacity: 0;
height: 0;
min-height: 5px !important;
}

#nav-bar:hover {
opacity: 1;
height: initial;
min-height: 20px !important;
}

#nav-bar:hover #urlbar[breakout] {
/* #nav-bar min-height changes the default; we must restore it once hovered */
/* see: https://github.com/WesleyBranton/Remove-Firefox-Megabar/blob/master/remove_megabar.css */
/* see: https://www.userchrome.org/megabar-styling-firefox-address-bar.html */
--urlbar-toolbar-height: 40px !important;
}

#sidebar-box {
font-size: 12px !important;
}

#sidebar-box #sidebar-header {
font-size: 12px !important;
}
21 changes: 21 additions & 0 deletions firefox/vimium.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"settingsVersion": "1.67.1",
"exclusionRules": [],
"filterLinkHints": false,
"waitForEnterForFilteredHints": true,
"hideHud": false,
"keyMappings": "# Insert your preferred key mappings here.\nunmap d\nunmap u\nmap <c-d> scrollPageDown\nmap <c-u> scrollPageUp\nmap <c-o> goBack\nmap <c-i> goForward\nunmap f\nmap ff LinkHints.activateMode\nmap ;1 previousTab\nmap ;2 nextTab",
"linkHintCharacters": "sadfjklewcmpgh",
"linkHintNumbers": "0123456789",
"newTabUrl": "about:newtab",
"nextPatterns": "next,more,newer,>,›,→,»,≫,>>",
"previousPatterns": "prev,previous,back,older,<,‹,←,«,≪,<<",
"regexFindMode": true,
"ignoreKeyboardLayout": false,
"scrollStepSize": 60,
"smoothScroll": true,
"grabBackFocus": true,
"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...\n# y: 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://duckduckgo.com/?q=",
"userDefinedLinkHintCss": "div > .vimiumHintMarker {\n/* linkhint boxes */\nbackground: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785),\n color-stop(100%,#FFC542));\nborder: 1px solid #E3BE23;\n}\n\ndiv > .vimiumHintMarker span {\n/* linkhint text */\ncolor: black;\nfont-weight: bold;\nfont-size: 12px;\n}\n\ndiv > .vimiumHintMarker > .matchingCharacter {\n}"
}

0 comments on commit e0453d8

Please sign in to comment.