diff --git a/firefox/treestyletab.json b/firefox/treestyletab.json new file mode 100644 index 0000000..0b0cb68 --- /dev/null +++ b/firefox/treestyletab.json @@ -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 +} diff --git a/firefox/userChrome.css b/firefox/userChrome.css new file mode 100644 index 0000000..2f547e5 --- /dev/null +++ b/firefox/userChrome.css @@ -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; +} diff --git a/firefox/vimium.json b/firefox/vimium.json new file mode 100644 index 0000000..5b1e156 --- /dev/null +++ b/firefox/vimium.json @@ -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 scrollPageDown\nmap scrollPageUp\nmap goBack\nmap 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}" +}