diff --git a/users/tacocat/programs/firefox.nix b/users/tacocat/programs/firefox.nix index 4a004f4..640ed80 100644 --- a/users/tacocat/programs/firefox.nix +++ b/users/tacocat/programs/firefox.nix @@ -74,7 +74,7 @@ }; search = { force = true; - default = "Celtic Lite"; + default = "Catgirl"; engines = { "Nix Packages" = { urls = [ @@ -113,6 +113,20 @@ ]; definedAliases = ["@cl"]; }; + "Catgirl" = { + urls = [ + { + template = "https://sx.catgirl.cloud/search"; + params = [ + { + name = "q"; + value = "{searchTerms}"; + } + ]; + } + ]; + definedAliases = ["@cg"]; + }; "Google".metaData.hidden = true; "Amazon.com".metaData.hidden = true; "Bing".metaData.hidden = true; @@ -127,7 +141,7 @@ --arrowpanel-background: ${theme.base00} !important; --arrowpanel-border-color: ${theme.base02} !important; - --autocomplete-popup-highlight-color: ${theme.base01} !important; + --autocomplete-popup-highlight-color: ${theme.base02} !important; --autocomplete-popup-highlight-background: ${theme.base06} !important; --toolbarbutton-active-background: ${theme.base06} !important; --lwt-toolbarbutton-icon-fill-attention: var(--button-primary-bgcolor, ${theme.base06}) !important; @@ -144,41 +158,22 @@ #navigator-toolbox, #sidebar-box { background-color: ${theme.base02} !important; - -moz-appearance: none !important; - background-image: none !important; - border: none !important; } .tab-background[selected="true"] { background-color: ${theme.base00} !important; - -moz-appearance: none !important; - background-image: none !important; - border: none !important; } .tab-background { background-color: ${theme.base02} !important; - border-radius: 0px !important; - margin-block: 0px !important; - min-height: 0px !important; } .tabbrowser-tab:hover .tab-background { background-color: ${theme.base09} !important; } - .tabbrowser-tab[fadein] { - max-width: 100vw !important; - } #urlbar { background-color: #11171D !important; border-radius: 10px !important; } #nav-bar { background-color: ${theme.base02} !important; - -moz-appearance: none !important; - background-image: none !important; - border: none !important; - transition: margin 0.5s !important; - } - #TabsToolbar { - z-index: 1000 !important; } #firefox-view-button { visibility: collapse; @@ -186,12 +181,6 @@ #alltabs-button { visibility: collapse; } - hbox.titlebar-spacer:nth-child(3) { - visibility: collapse; - } - hbox.titlebar-buttonbox-container:nth-child(5) { - visibility: collapse; - } #mainPopupSet menupopup, menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu { @@ -199,69 +188,8 @@ border-radius: 0px !important; padding: 0px 0px 0px 0px !important; } - .tabbrowser-tab { - height: 25px !important; - z-index: 1000 !important; - padding: none !important; - padding-inline: 0px !important; - } /* - #navigator-toolbox:not(:focus-within):not(:hover) #nav-bar { - margin-top: -40px !important; - } */ - .tab-line { - display: none !important; - } - .tab-icon-image:not([pinned]){ - display: none !important; - } - #tab-content { - vertical-align: middle !important; - } - .tab-text, - .tab-label { - -moz-box-flex: 1 !important; - text-align: center !important; - } - .tab-secondary-label { - display:none !important; - } - .tab-label { - padding-top: 5px !important; - overflow: hidden !important; - } - .tabbrowser-tab .tab-label-container { - margin-inline-end: 7px !important; - } - .tab-label-container { - -moz-box-pack: center !important; - -moz-box-orient: horizontal !important; - display: grid !important; - justify-content: safe center !important; - } - #tabbrowser-tabs { - -moz-box-flex: 1 !important; - text-align: center !important; - border-inline-start: 0px !important; - padding-inline-start: 0px !important; - margin-inline-start: 0px !important; - } - #tabs-newtab-button{ - display: none !important; - } - .tabbrowser-tab::before, - .tabbrowser-tab::after{ - display: none !important; - } - .tab-close-button { - display: none !important; - border-radius: 10px !important; - } - #identity-box, - #tracking-protection-icon-container { - display: none !important; - } #back-button>.toolbarbutton-icon { transform: scale(.85, .85) !important; animation: none !important; @@ -279,7 +207,6 @@ #whats-new-menu-button, #pocket-button, #save-to-pocket-button - #pageActionSeparator, #reader-mode-button { display: none !important; } @@ -289,9 +216,6 @@ #save-to-pocket-button { visibility: hidden !important; } - #PanelUI-button { - border-image-slice: 0 !important; - } #urlbar-input { background-color: ${theme.base00} !important; padding-left: 5px !important; @@ -309,13 +233,6 @@ background-color: ${theme.base06} !important; color: ${theme.base00} !important; } - .urlbarView-body-inner { - border-top: none !important; - } - #nav-bar { - border-bottom: 0px !important; - box-shadow: none !important; - } #urlbar ::-moz-selection, .searchbar-textbox ::-moz-selection { background-color: ${theme.base01} !important; @@ -345,21 +262,10 @@ padding-inline: var(--urlbarView-item-inline-padding) 18px; opacity: 0.6; } - :root:not([privatebrowsingmode], [firefoxviewhidden]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs, - :root[privatebrowsingmode]:not([firefoxviewhidden]) :is( - toolbarbutton:not(#firefox-view-button), - toolbarpaletteitem:not(#wrapper-firefox-view-button) - ) + #tabbrowser-tabs { - border-inline-start: 0px !important; - padding-inline-start: 0px !important; - margin-inline-start: 0px !important; + #tabbrowser-tabs { + border-inline-start: none !important; } - .tab-icon-stack { - display: none; - } - .tab-label { - white-space: nowrap; - line-height: 2 !important; /* override 'normal' in case of fallback math fonts with huge metrics */ + } ''; userContent = '' @@ -427,9 +333,4 @@ }; }; - # home.file."theme" = { - # source = "${inputs.firefox-rose}/dist"; - # target = ".mozilla/firefox/aria/chrome"; - # recursive = true; - # }; }