diff --git a/home/private_dot_config/hyprman/config.yml b/home/private_dot_config/hyprman/config.yml index 9630248..1c1874b 100644 --- a/home/private_dot_config/hyprman/config.yml +++ b/home/private_dot_config/hyprman/config.yml @@ -11,7 +11,7 @@ classes: "LibreOffice":  # "Geneious Prime": 󰚄 "com-biomatters-iseek-application-ISeekMain": 󰚄 - "Firefox":  + "firefox":  "- NVIM":  "Alacritty":  "- Wezterm":  diff --git a/home/private_dot_mozilla/private_firefox/profile.daylin/chrome/userChrome.css b/home/private_dot_mozilla/private_firefox/profile.daylin/chrome/userChrome.css new file mode 100644 index 0000000..a2b92b8 --- /dev/null +++ b/home/private_dot_mozilla/private_firefox/profile.daylin/chrome/userChrome.css @@ -0,0 +1,177 @@ +/* +* +* +* This theme uses code from: https://github.com/Bali10050/FirefoxCSS +* +*/ + +/* Just comment the lines or block, flex for the elements you WANT to see */ + + +/* ------------------------------------------------------------------------MEDIA QUERIES FOR ONELINE NAVBAR----------------------------------------------------------- */ + +/* Navbar size calc */ +:root{ + --tab-border-radius: 15px !important; /* Tab border radius -- Changes the tabs rounding *//* Default: 6px */ + --NavbarWidth: 43; /* Default values: 36 - 43 */ + --TabsHeight: 25; /* Minimum: 30 *//* Default: 36 */ + --TabsBorder: 8; /* Doesnt do anything on small layout *//* Default: 8 */ + --NavbarHeightSmall: calc(var(--TabsHeight) + var(--TabsBorder)) /* Only on small layout *//* Default: calc(var(--TabsHeight) + var(--TabsBorder)) *//* Default as a number: 44 */} + + +@media screen and (min-width:1325px) /* Only the tabs space will grow from here */ +{:root #nav-bar{margin-top: calc(var(--TabsHeight) * -1px - var(--TabsBorder) * 1px)!important; + height: calc(var(--TabsHeight) * 1px + var(--TabsBorder) * 1px)} + #TabsToolbar{margin-left: calc(1325px / 100 * var(--NavbarWidth)) !important} + #nav-bar{margin-right: calc(100vw - calc(1325px / 100 * var(--NavbarWidth))) !important; vertical-align: center !important} + #urlbar-container{min-width: 0px !important; flex: auto !important} toolbarspring{display: none !important} + +} + +@media screen and (min-width:950px) and (max-width:1324px) /* Both the tabs space and the navbar will grow */ +{:root #nav-bar{margin-top: calc(var(--TabsHeight) * -1px - var(--TabsBorder) * 1px) !important; + height: calc(var(--TabsHeight) * 1px + var(--TabsBorder) * 1px)} + #TabsToolbar{margin-left: calc(var(--NavbarWidth) * 1vw) !important} + #nav-bar{margin-right: calc(100vw - calc(var(--NavbarWidth) * 1vw)) !important; vertical-align: center !important} + #urlbar-container{min-width: 0px !important; flex: auto !important} toolbarspring{display: none !important} + #TabsToolbar, #nav-bar{transition: margin-top .25s !important} + +} + +@media screen and (max-width:949px) /* The window is not enough wide for a one line layout */ +{:root #nav-bar{padding: 0 5px 0 5px!important; height: calc(var(--NavbarHeightSmall) * 1px) !important} toolbarspring{display: none !important;} + #TabsToolbar, #nav-bar{transition: margin-top .25s !important}} + #nav-bar, #PersonalToolbar{background-color: #0000 !important;background-image: none !important; box-shadow: none !important} + #nav-bar{margin-left: 3px;} .tab-background, .tab-stack { min-height: calc(var(--TabsHeight) * 1px) !important + +} + + +/*------------------------------------------------------------------- MENU BUTTON ----------------------------------------------------------------------*/ +#PanelUI-button { + -moz-box-ordinal-group: 0 !important; + order: -2 !important; + margin: 2px !important; + display: flex !important; +} + +/* Window control buttons (min, resize and close) */ +.titlebar-buttonbox-container { + display: flex !important; + margin-right: 12px !important; + + +} + + +/* Page back and foward buttons */ +#back-button, +#forward-button +{ + display: none !important; +} + +/* Extensions button */ +#unified-extensions-button { + order: -3 !important; + display: flex !important; + +} + +/* Extension name inside URL bar */ +#identity-box.extensionPage #identity-icon-label { + visibility: none !important; +} + +/* All tabs (v-like) button */ +#alltabs-button { + display: none !important; +} + + + +/* ----------------------------------------------------------------- END element visibility section ------------------------------------------------------------- */ + + +/* URL bar icons */ +#reload-button, +#identity-permission-box, +#star-button-box, +#identity-icon-box, +#picture-in-picture-button, +#tracking-protection-icon-container, +#reader-mode-button, +#translations-button +{ + display: none !important; +} + +/* "This time search with:..." */ +#urlbar .search-one-offs { + display: none !important; +} + +/* Removes urlbar border/background */ +#urlbar-background { + border: none !important; + outline: block !important; + transition: .15s !important; +} + +/* Removes the background from the urlbar while not in use */ +#urlbar:not(:hover):not([breakout][breakout-extend]) > #urlbar-background { + box-shadow: none !important; + background: #0000 !important; +} + +/* Removes annoying border */ +#navigator-toolbox { + border: none !important +} + +/* Fades window while not in focus */ +#navigator-toolbox-background:-moz-window-inactive { + filter: contrast(90%) +} + +/* Remove fullscreen warning border */ +#fullscreen-warning { + border: none !important; + background: -moz-Dialog !important; +} + +/* Tabs close button */ +.tabbrowser-tab:not(:hover) .tab-close-button { + opacity: 0% !important; + transition: 0.3s !important; + display: -moz-box !important; +} +.tab-close-button[selected]:not(:hover) { + opacity: 45% !important; + transition: 0.3s !important; + display: -moz-box !important; +} +.tabbrowser-tab:hover .tab-close-button { + opacity: 50%; + transition: 0.3s !important; + background: none !important; + cursor: pointer; + display: -moz-box !important; +} +.tab-close-button:hover { + opacity: 100% !important; + transition: 0.3s !important; + background: none !important; + cursor: pointer; + display: -moz-box !important; +} +.tab-close-button[selected]:hover { + opacity: 100% !important; + transition: 0.3s !important; + background: none !important; + cursor: pointer; + display: -moz-box !important; +} +/* Remove duplicated window control buttons*/ +#nav-bar .titlebar-buttonbox{display: none !important +} \ No newline at end of file diff --git a/home/private_dot_mozilla/private_firefox/profile.daylin/chrome/userContent.css b/home/private_dot_mozilla/private_firefox/profile.daylin/chrome/userContent.css new file mode 100644 index 0000000..5dbc984 --- /dev/null +++ b/home/private_dot_mozilla/private_firefox/profile.daylin/chrome/userContent.css @@ -0,0 +1,75 @@ +/* changes the background color of these mentioned pages to black */ + +@-moz-document url(chrome://browser/content/blanktab.html), url(about:newtab), url(about:home), url(about:privatebrowsing), url(about:profiles){ + body{ + background-color: black !important; + } + +} +/* preferences page black background */ +@-moz-document url(about:preferences){ + body{ + background-color: black !important; + .sticky-container{ + background-color: black !important; + } + } + +} + +/* +* Addons page compact redisign with a black background +* code taken from https://www.reddit.com/r/FirefoxCSS/comments/a8z6wk/make_aboutaddons_page_look_nice_and_compact/ +*/ + +@-moz-document url(about:addons){ + body{ + background-color: rgb(0, 0, 0) !important; + .sticky-container{ + background-color: black !important; + } + .main-search{ + background-color: black !important; + } + .main-heading{ + background-color: black !important; + } + } + + .addon.card { + + max-width: 950px !important; + padding: 4px !important; + padding-right: 6px !important; + padding-left: 11px !important; + margin: -1px !important; + margin-top: 4px !important; + font-size: 11px !important; + font-family: Arial !important; + border-radius: 16px !important; + background-color: rgba(39, 37, 37, 0.967) !important; + + } + + #header-inner { + + margin-left: -133px !important; + margin-bottom: -27px !important; + + } + + .heading-inner { + width: 1795px !important; + margin-left: -1185px !important; + margin-top: -28px !important; + + } + + .toolbarbutton-icon { + padding: 0px 2px !important; + margin-left: -222px !important; + margin-right: 0px !important; + margin-top: -2px !important; + padding-top: 2px !important;} + + } \ No newline at end of file diff --git a/home/private_dot_mozilla/private_firefox/profile.daylin/user.js b/home/private_dot_mozilla/private_firefox/profile.daylin/user.js new file mode 100644 index 0000000..bc6bb7a --- /dev/null +++ b/home/private_dot_mozilla/private_firefox/profile.daylin/user.js @@ -0,0 +1,255 @@ +// +/* You may copy+paste this file and use it as it is. + * + * If you make changes to your about:config while the program is running, the + * changes will be overwritten by the user.js when the application restarts. + * + * To make lasting changes to preferences, you will have to edit the user.js. + */ + +/**************************************************************************** + * Betterfox * + * "Ad meliora" * + * version: 128 * + * url: https://github.com/yokoffing/Betterfox * +****************************************************************************/ + +/**************************************************************************** + * SECTION: FASTFOX * +****************************************************************************/ +/** GENERAL ***/ +user_pref("content.notify.interval", 100000); + +/** GFX ***/ +user_pref("gfx.canvas.accelerated.cache-items", 4096); +user_pref("gfx.canvas.accelerated.cache-size", 512); +user_pref("gfx.content.skia-font-cache-size", 20); + +/** DISK CACHE ***/ +user_pref("browser.cache.jsbc_compression_level", 3); + +/** MEDIA CACHE ***/ +user_pref("media.memory_cache_max_size", 65536); +user_pref("media.cache_readahead_limit", 7200); +user_pref("media.cache_resume_threshold", 3600); + +/** IMAGE CACHE ***/ +user_pref("image.mem.decode_bytes_at_a_time", 32768); + +/** NETWORK ***/ +user_pref("network.http.max-connections", 1800); +user_pref("network.http.max-persistent-connections-per-server", 10); +user_pref("network.http.max-urgent-start-excessive-connections-per-host", 5); +user_pref("network.http.pacing.requests.enabled", false); +user_pref("network.dnsCacheExpiration", 3600); +user_pref("network.ssl_tokens_cache_capacity", 10240); + +/** SPECULATIVE LOADING ***/ +user_pref("network.dns.disablePrefetch", true); +user_pref("network.dns.disablePrefetchFromHTTPS", true); +user_pref("network.prefetch-next", false); +user_pref("network.predictor.enabled", false); +user_pref("network.predictor.enable-prefetch", false); + +/** EXPERIMENTAL ***/ +user_pref("layout.css.grid-template-masonry-value.enabled", true); +user_pref("dom.enable_web_task_scheduling", true); +user_pref("dom.security.sanitizer.enabled", true); + +/**************************************************************************** + * SECTION: SECUREFOX * +****************************************************************************/ +/** TRACKING PROTECTION ***/ +user_pref("browser.contentblocking.category", "strict"); +user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com"); +user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com"); +user_pref("network.cookie.sameSite.noneRequiresSecure", true); +user_pref("browser.download.start_downloads_in_tmp_dir", true); +user_pref("browser.helperApps.deleteTempFileOnExit", true); +user_pref("browser.uitour.enabled", false); +user_pref("privacy.globalprivacycontrol.enabled", true); + +/** OCSP & CERTS / HPKP ***/ +user_pref("security.OCSP.enabled", 0); +user_pref("security.remote_settings.crlite_filters.enabled", true); +user_pref("security.pki.crlite_mode", 2); + +/** SSL / TLS ***/ +user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); +user_pref("browser.xul.error_pages.expert_bad_cert", true); +user_pref("security.tls.enable_0rtt_data", false); + +/** DISK AVOIDANCE ***/ +user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); +user_pref("browser.sessionstore.interval", 60000); + +/** SHUTDOWN & SANITIZING ***/ +user_pref("privacy.history.custom", true); + +/** SEARCH / URL BAR ***/ +user_pref("browser.urlbar.trimHttps", true); +user_pref("browser.search.separatePrivateDefault.ui.enabled", true); +user_pref("browser.urlbar.update2.engineAliasRefresh", true); +user_pref("browser.search.suggest.enabled", false); +user_pref("browser.urlbar.quicksuggest.enabled", false); +user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); +user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); +user_pref("browser.urlbar.groupLabels.enabled", false); +user_pref("browser.formfill.enable", false); +user_pref("security.insecure_connection_text.enabled", true); +user_pref("security.insecure_connection_text.pbmode.enabled", true); +user_pref("network.IDN_show_punycode", true); + +/** HTTPS-FIRST POLICY ***/ +user_pref("dom.security.https_first", true); +user_pref("dom.security.https_first_schemeless", true); + +/** PASSWORDS ***/ +user_pref("signon.formlessCapture.enabled", false); +user_pref("signon.privateBrowsingCapture.enabled", false); +user_pref("network.auth.subresource-http-auth-allow", 1); +user_pref("editor.truncate_user_pastes", false); + +/** MIXED CONTENT + CROSS-SITE ***/ +user_pref("security.mixed_content.block_display_content", true); +user_pref("pdfjs.enableScripting", false); +user_pref("extensions.postDownloadThirdPartyPrompt", false); + +/** HEADERS / REFERERS ***/ +user_pref("network.http.referer.XOriginTrimmingPolicy", 2); + +/** CONTAINERS ***/ +user_pref("privacy.userContext.ui.enabled", true); + +/** WEBRTC ***/ +user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); +user_pref("media.peerconnection.ice.default_address_only", true); + +/** SAFE BROWSING ***/ +user_pref("browser.safebrowsing.downloads.remote.enabled", false); + +/** MOZILLA ***/ +user_pref("permissions.default.desktop-notification", 2); +user_pref("permissions.default.geo", 2); +user_pref("permissions.manager.defaultsUrl", ""); +user_pref("webchannel.allowObject.urlWhitelist", ""); + +/** TELEMETRY ***/ +user_pref("datareporting.policy.dataSubmissionEnabled", false); +user_pref("datareporting.healthreport.uploadEnabled", false); +user_pref("toolkit.telemetry.unified", false); +user_pref("toolkit.telemetry.enabled", false); +user_pref("toolkit.telemetry.server", "data:,"); +user_pref("toolkit.telemetry.archive.enabled", false); +user_pref("toolkit.telemetry.newProfilePing.enabled", false); +user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); +user_pref("toolkit.telemetry.updatePing.enabled", false); +user_pref("toolkit.telemetry.bhrPing.enabled", false); +user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); +user_pref("toolkit.telemetry.coverage.opt-out", true); +user_pref("toolkit.coverage.opt-out", true); +user_pref("toolkit.coverage.endpoint.base", ""); +user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); +user_pref("browser.newtabpage.activity-stream.telemetry", false); + +/** EXPERIMENTS ***/ +user_pref("app.shield.optoutstudies.enabled", false); +user_pref("app.normandy.enabled", false); +user_pref("app.normandy.api_url", ""); + +/** CRASH REPORTS ***/ +user_pref("breakpad.reportURL", ""); +user_pref("browser.tabs.crashReporting.sendReport", false); +user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); + +/** DETECTION ***/ +user_pref("captivedetect.canonicalURL", ""); +user_pref("network.captive-portal-service.enabled", false); +user_pref("network.connectivity-service.enabled", false); +user_pref("dom.private-attribution.submission.enabled", false); + +/**************************************************************************** + * SECTION: PESKYFOX * +****************************************************************************/ +/** MOZILLA UI ***/ +user_pref("browser.privatebrowsing.vpnpromourl", ""); +user_pref("extensions.getAddons.showPane", false); +user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); +user_pref("browser.discovery.enabled", false); +user_pref("browser.shell.checkDefaultBrowser", false); +user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); +user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); +user_pref("browser.preferences.moreFromMozilla", false); +user_pref("browser.tabs.tabmanager.enabled", false); +user_pref("browser.aboutConfig.showWarning", false); +user_pref("browser.aboutwelcome.enabled", false); + +/** THEME ADJUSTMENTS ***/ +user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); +user_pref("browser.compactmode.show", true); +user_pref("browser.display.focus_ring_on_anything", true); +user_pref("browser.display.focus_ring_style", 0); +user_pref("browser.display.focus_ring_width", 0); +user_pref("layout.css.prefers-color-scheme.content-override", 2); +user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS + +/** COOKIE BANNER HANDLING ***/ +user_pref("cookiebanners.service.mode", 1); +user_pref("cookiebanners.service.mode.privateBrowsing", 1); + +/** FULLSCREEN NOTICE ***/ +user_pref("full-screen-api.transition-duration.enter", "0 0"); +user_pref("full-screen-api.transition-duration.leave", "0 0"); +user_pref("full-screen-api.warning.delay", -1); +user_pref("full-screen-api.warning.timeout", 0); + +/** URL BAR ***/ +user_pref("browser.urlbar.suggest.calculator", true); +user_pref("browser.urlbar.unitConversion.enabled", true); +user_pref("browser.urlbar.trending.featureGate", false); + +/** NEW TAB PAGE ***/ +user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); +user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); + +/** POCKET ***/ +user_pref("extensions.pocket.enabled", false); + +/** DOWNLOADS ***/ +user_pref("browser.download.always_ask_before_handling_new_types", true); +user_pref("browser.download.manager.addToRecentDocs", false); + +/** PDF ***/ +user_pref("browser.download.open_pdf_attachments_inline", true); + +/** TAB BEHAVIOR ***/ +user_pref("browser.bookmarks.openInTabClosesMenu", false); +user_pref("browser.menu.showViewImageInfo", true); +user_pref("findbar.highlightAll", true); +user_pref("layout.word_select.eat_space_to_next_word", false); + +/**************************************************************************** + * START: MY OVERRIDES * +****************************************************************************/ +// visit https://github.com/yokoffing/Betterfox/wiki/Common-Overrides +// visit https://github.com/yokoffing/Betterfox/wiki/Optional-Hardening +// Enter your personal overrides below this line: +// PREF: always ask where to download +// true = Direct download +// false = The user is asked what to do +user_pref("browser.download.useDownloadDir", false); +user_pref("signon.rememberSignons", true);// PREF: restore login manager +user_pref("reader.color_scheme", "auto"); + +/**************************************************************************** + * SECTION: SMOOTHFOX * +****************************************************************************/ +// visit https://github.com/yokoffing/Betterfox/blob/main/Smoothfox.js +// Enter your scrolling overrides below this line: +user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX +user_pref("general.smoothScroll", true); // DEFAULT +user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400; adjust this number to your liking + +/**************************************************************************** + * END: BETTERFOX * +****************************************************************************/