fresh init

This commit is contained in:
sankalp committed 2023-05-25 01:14:50 +05:45
1 parent ab3ab59a02
commit 06f66f4b61
7 files changed
+408

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#include ".Xresources.d/colors"
#include ".Xresources.d/fonts"
#include ".Xresources.d/rxvt-unicode"
+3
View File
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Gravit.io -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 16 16" width="16pt" height="16pt"><defs><clipPath id="_clipPath_99lNy5iVNzBT4GJ61eRvLV4FbIJfEq2X"><rect width="16" height="16"/></clipPath></defs><g clip-path="url(#_clipPath_99lNy5iVNzBT4GJ61eRvLV4FbIJfEq2X)"><clipPath id="_clipPath_PSmJUw238rlrF3iVjoZbuIy7ApS18eFZ"><rect x="0" y="0" width="16" height="16" transform="matrix(1,0,0,1,0,0)" fill="rgb(255,255,255)"/></clipPath><g clip-path="url(#_clipPath_PSmJUw238rlrF3iVjoZbuIy7ApS18eFZ)"><g><defs><filter id="hr6gh2N39iEKGHUEUXPQ1VpI5CnFB6KP" x="-200%" y="-200%" width="400%" height="400%" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB"><feGaussianBlur xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" stdDeviation="1.42936090628390283"/><feOffset xmlns="http://www.w3.org/2000/svg" dx="0" dy="0" result="pf_100_offsetBlur"/><feFlood xmlns="http://www.w3.org/2000/svg" flood-color="#000000" flood-opacity="0.65"/><feComposite xmlns="http://www.w3.org/2000/svg" in2="pf_100_offsetBlur" operator="in" result="pf_100_dropShadow"/><feBlend xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" in2="pf_100_dropShadow" mode="normal"/></filter></defs><g filter="url(#hr6gh2N39iEKGHUEUXPQ1VpI5CnFB6KP)"><mask id="_mask_kcpkNUVqAh3jvumwkzpWdE5WZ1TZaYfV" x="-200%" y="-200%" width="400%" height="400%"><rect x="-200%" y="-200%" width="400%" height="400%" style="fill:white;"/><path d=" M 12.487 8 L 3.513 8 M 8 3.513 L 8 12.487" fill-rule="evenodd" fill="black" stroke="none"/></mask><path d=" M 12.487 8 L 3.513 8 M 8 3.513 L 8 12.487" fill-rule="evenodd" fill="rgb(0,0,0)" mask="url(#_mask_kcpkNUVqAh3jvumwkzpWdE5WZ1TZaYfV)" vector-effect="non-scaling-stroke" stroke-width="3" stroke="rgb(255,255,255)" stroke-opacity="100" stroke-linejoin="miter" stroke-linecap="round" stroke-miterlimit="3"/><path d=" M 12.487 8 L 3.513 8 M 8 3.513 L 8 12.487" fill-rule="evenodd" fill="rgb(0,0,0)"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Generator: Gravit.io --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 16 16" width="16pt" height="16pt"><defs><clipPath id="_clipPath_z1ZWMbJsyhiOU2QHbFJoUMhQtGZ43GMW"><rect width="16" height="16"/></clipPath></defs><g clip-path="url(#_clipPath_z1ZWMbJsyhiOU2QHbFJoUMhQtGZ43GMW)"><defs><filter id="VFDVuOTf5K98KT4GTZIfo6t2oUeOZ3OQ" x="-200%" y="-200%" width="400%" height="400%" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB"><feGaussianBlur xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" stdDeviation="1.42936090628390283"/><feOffset xmlns="http://www.w3.org/2000/svg" dx="0" dy="0" result="pf_100_offsetBlur"/><feFlood xmlns="http://www.w3.org/2000/svg" flood-color="#000000" flood-opacity="1"/><feComposite xmlns="http://www.w3.org/2000/svg" in2="pf_100_offsetBlur" operator="in" result="pf_100_dropShadow"/><feBlend xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" in2="pf_100_dropShadow" mode="normal"/></filter></defs><g filter="url(#VFDVuOTf5K98KT4GTZIfo6t2oUeOZ3OQ)"><path d=" M 6.459 8.003 L 12.444 2.018 C 12.609 1.853 12.7 1.633 12.7 1.399 C 12.7 1.164 12.609 0.945 12.444 0.78 L 11.92 0.256 C 11.755 0.091 11.535 0 11.301 0 C 11.067 0 10.847 0.091 10.682 0.256 L 3.555 7.382 C 3.39 7.548 3.3 7.768 3.3 8.003 C 3.3 8.239 3.39 8.459 3.555 8.625 L 10.676 15.744 C 10.84 15.909 11.06 16 11.294 16 C 11.529 16 11.749 15.909 11.913 15.744 L 12.438 15.22 C 12.779 14.879 12.779 14.323 12.438 13.982 L 6.459 8.003 L 6.459 8.003 Z " fill="rgb(255,255,255)"/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Generator: Gravit.io --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 16 16" width="16pt" height="16pt"><defs><clipPath id="_clipPath_eVFSl4zvN5oTHPzyWFXDKL3KvwnaLKzR"><rect width="16" height="16"/></clipPath></defs><g clip-path="url(#_clipPath_eVFSl4zvN5oTHPzyWFXDKL3KvwnaLKzR)"><clipPath id="_clipPath_whDLWxO2Es9F8hEuhZ0p3GS4myfSGk47"><rect x="0" y="0" width="16" height="16" transform="matrix(1,0,0,1,0,0)" fill="rgb(255,255,255)"/></clipPath><g clip-path="url(#_clipPath_whDLWxO2Es9F8hEuhZ0p3GS4myfSGk47)"><g><g filter="url(#ypa27OiaF8P4AvdUhn4W059B0fCNWPt7)"><path d=" M 9.541 8.003 L 3.556 2.018 C 3.391 1.853 3.3 1.633 3.3 1.399 C 3.3 1.164 3.391 0.945 3.556 0.78 L 4.08 0.256 C 4.245 0.091 4.465 0 4.699 0 C 4.933 0 5.153 0.091 5.318 0.256 L 12.445 7.382 C 12.61 7.548 12.7 7.768 12.7 8.003 C 12.7 8.239 12.61 8.459 12.445 8.625 L 5.324 15.744 C 5.16 15.909 4.94 16 4.706 16 C 4.471 16 4.251 15.909 4.087 15.744 L 3.562 15.22 C 3.221 14.879 3.221 14.323 3.562 13.982 L 9.541 8.003 L 9.541 8.003 Z " fill="rgb(255,255,255)"/></g><defs><filter id="ypa27OiaF8P4AvdUhn4W059B0fCNWPt7" x="-200%" y="-200%" width="400%" height="400%" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB"><feGaussianBlur xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" stdDeviation="1.42936090628390283"/><feOffset xmlns="http://www.w3.org/2000/svg" dx="0" dy="0" result="pf_100_offsetBlur"/><feFlood xmlns="http://www.w3.org/2000/svg" flood-color="#000000" flood-opacity="1"/><feComposite xmlns="http://www.w3.org/2000/svg" in2="pf_100_offsetBlur" operator="in" result="pf_100_dropShadow"/><feBlend xmlns="http://www.w3.org/2000/svg" in="SourceGraphic" in2="pf_100_dropShadow" mode="normal"/></filter></defs></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

+281
View File
@@ -0,0 +1,281 @@
:root {
--bg: #14171c;
--icon-color: #b8bfe5;
--nav-toolbar-padding: 8px;
--sidebar-bg: var(--z0mbi3-bg);
--sidebar-color: #b8bfe5;
--tab-border-radius: 0px;
--tab-color: #f3edff;
--tab-font-family: "JetBrainsMono Nerd Font", serif;
--tab-font-size: 9.5pt;
--tab-font-weight: 600;
--tab-height: 42px;
--tab-pinned-bg: #70c1b3;
--tab-selected-bg: #4d4168;
--tab-soundplaying-bg: #ee6c4d;
--urlbar-color: #b8bfe5;
--urlbar-focused-color: #d7d9e5;
--urlbar-font-family: "JetBrainsMono Nerd Font", serif;
--urlbar-font-size: 10pt;
--urlbar-font-weight: 800;
--urlbar-results-color: #e0fbfc;
--urlbar-results-font-family: "JetBrainsMono Nerd Font", serif;
--urlbar-results-font-size: 9pt;
--urlbar-results-font-weight: 700;
--urlbar-results-url-color: #98c1d9;
/* Overriden Firefox variables*/
--toolbar-bgcolor: var(--bg) !important;
--lwt-sidebar-background-color: var(--bg) !important;
--tab-border-radius: 0 !important;
--lwt-toolbarbutton-icon-fill-attention: #8677cf !important;
--toolbarbutton-icon-fill-attention: var(--lwt-toolbarbutton-icon-fill-attention) !important;
}
.toolbarbutton-icon {
fill: var(--z0mbi3-icon-color) !important;
fill-opacity: 100% !important;
}
#PlacesToolbar menupopup[placespopup="true"] {
--arrowpanel-background: var(--bg) !important;
--arrowpanel-color: #b8bfe5 !important;
}
.tab-background[selected="true"] {
background: var(--tab-selected-bg) !important;
}
/*.tab-background[selected"false"] {
background: var(--tab-selected-bg) !important;
opacity: 50% !important;
}*/
/* Move tabs down */
#titlebar {
-moz-box-ordinal-group: 3 !important;
}
/* tabs */
.tab-text {
font-family: var(--tab-font-family);
font-weight: var(--tab-font-weight);
font-size: var(--tab-font-size) !important;
color: var(--tab-color);
padding: 10px !important;
}
/* Make all tabs small except selected one */
.tabbrowser-tab[fadein]:not([selected]):not([pinned]) {
max-width: 150px !important;
min-width: 150px !important;
}
/* Make selected tabs to bigger */
.tabbrowser-tab[selected][fadein]:not([pinned]) {
max-width: 200px !important;
min-width: 200px !important;
}
hbox.tab-content .tab-icon-image {
display: none !important;
}
.tabbrowser-tab {
border-radius: var(--tab-border-radius) !important;
height: var(--tab-height) !important;
margin-bottom: 6px !important;
margin-top: 4px !important;
max-height: 80% !important;
min-height: 80% !important;
}
#tabs-newtab-button > .toolbarbutton-icon {
--toolbarbutton-inner-padding: 4px !important;
}
/* No sound icon and text in tabs */
.tab-close-button[pinned],
#tabbrowser-tabs[closebuttons="activetab"] > #tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button:not([selected="true"]),
.tab-icon-pending:not([pendingicon]),
.tab-icon-pending[busy],
.tab-icon-pending[pinned],
.tab-icon-image:not([src]):not([pinned]):not([crashed])[selected],
.tab-icon-image:not([src]):not([pinned]):not([crashed]):not([sharing]),
.tab-icon-image[busy],
.tab-throbber:not([busy]),
.tab-icon-sound:not([soundplaying]):not([muted]):not([activemedia-blocked]):not([pictureinpicture]),
.tab-icon-sound[pinned],
.tab-sharing-icon-overlay,
.tab-icon-overlay {
display: none;
}
.tab-secondary-label[soundplaying="true"]:not([pictureinpicture]){ display: none }
/**************************************************/
#urlbar {
max-width: 70% !important;
margin: 0 15% !important;
/* position: unset!important; */;
}
#urlbar-results {
font-family: var(--urlbar-results-font-family);
font-weight: var(--urlbar-results-font-weight);
font-size: var(--urlbar-results-font-size) !important;
color: var(--urlbar-results-color) !important;
}
#urlbar:not([focused]) > #urlbar-background {
border: none !important;
box-shadow: none !important;
outline: none !important;
}
.urlbarView-url, .search-panel-one-offs-container {
color: var(--urlbar-results-url-color) !important;
font-family: var(--urlbar-font-family);
font-weight: var(--urlbar-results-font-weight);
font-size: var(--urlbar-font-size) !important;
}
.urlbarView-favicon, .urlbarView-type-icon {
display: none !important;
}
#urlbar-input {
font-size: var(--urlbar-font-size) !important;
color: var(--urlbar-color) !important;
font-family: var(--urlbar-font-family) !important;
font-weight: var(--urlbar-font-weight)!important;
text-align: center !important;
}
#urlbar-input:focus {
color: var(--urlbar-focused-color) !important;
}
/* Download button */
/* Hide tracking protection button */
tracking-protection-icon-container, #identity-box {
display: none;
}
#tracking-protection-icon-box {
display: none;
}
#unified-extensions-button {
display: none;
}
/* Hide show all tabs button */
#alltabs-button {
display: none !important;
}
/* Hide star button (bookmark) */
#star-button{
display:none;
}
@-moz-document url("about:home"),
url("about:newtab"),url("about:blank") {
.personalize-button {
display: none !important;}}
/* Hide reading View */
#reader-mode-button,#readinglist-addremove-button {
display:none !important;
}
/* Remove Back button when there's nothing to go Back to */
#nav-bar:not([customizing="true"])>#nav-bar-customization-target>#back-button[disabled="true"] {
opacity: 0 !important;
}
/* Remove Forward button when there's nothing to go Forward to */
#nav-bar:not([customizing="true"])>#nav-bar-customization-target>#forward-button[disabled="true"] {
opacity: 0 !important;
}
/* Remove reload button when there's nothing to reload */
#nav-bar:not([customizing="true"])>#nav-bar-customization-target>#reload-button[disabled="true"] {
opacity: 0 !important;
}
/* Remove close button*/
.titlebar-buttonbox-container{
display:none
}
#navigator-toolbox {
border-bottom: unset !important;
}
#back-button {
list-style-image: url("left-arrow.svg") !important;
}
#tabs-newtab-button {
list-style-image: url("add.svg") !important;
}
.close-icon, .urlbar-icon {
fill: var(--z0mbi3-icon-color) !important;
}
#forward-button {
list-style-image: url("right-arrow.svg") !important;
}
#urlbar-background {
background-color: var(--bg) !important;
border: none !important;
outline: none !important;
opacity: .95 !important;
}
.toolbar-items {
background-color: var(--bg) !important;
}
#reload-button:not([disabled="true"]),
#home-button:not([disabled="true"]) {
color: var(--icon-color) !important;
}
.toolbarbutton-text {
color: var(--icon-color) !important;
}
toolbar#nav-bar {
padding: var(--nav-toolbar-padding) !important;
}
toolbarbutton.bookmark-item:hover,
#PlacesToolbar menu:hover,
#PlacesToolbar menuitem:hover {
background-color: var(--tab-selected-bg) !important;
}
/************************************/
/*Darken panels to match theme*/
.panel-subview-body,#appMenu-zoomReset-button,.panel-mainview,.panel-subviews {
color: #c5cddb !important;
background: var(--url-and-searchbar-background-color) !important;}
.panel-subview-footer,[class^="PanelUI-"] {
color: #c5cddb !important;
background: var(--toolbar-bgcolor) !important;}
/*stops possible clashes with extension popups*/
.webextension-popup-browser {
background: #fff;}
@@ -0,0 +1,9 @@
@import url("userChrome.css");
/* Removes white loading page */
@-moz-document url(about:blank), url(about:newtab), url(about:home) {
html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay {
background: var(--bg) !important;
}
}
+108
View File
@@ -0,0 +1,108 @@
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.memory.enable", true);
user_pref("browser.cache.memory.capacity", 524288);
user_pref("browser.sessionstore.interval", 15000000);
user_pref("extensions.pocket.enabled", false);
user_pref("reader.parse-on-load.enabled", false);
user_pref("accessibility.force_disabled", 1);
user_pref("browser.helperApps.deleteTempFileOnExit", true);
user_pref("browser.uitour.enabled", false);
/*** STARTUP ***/
/* set startup page
* 0=blank, 1=home, 2=last visited page, 3=resume previous session*/
user_pref("browser.startup.page", 0);
/* set HOME+NEWWINDOW page
* about:home=Firefox Home, custom URL, about:blank*/
user_pref("browser.startup.homepage", "about:blank");
/* disable sponsored content on Firefox Home (Activity Stream)
* [SETTING] Home>Firefox Home Content ***/
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // [FF58+] Pocket > Sponsored Stories
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Sponsored shortcuts
/* clear default topsites
* [NOTE] This does not block you from adding your own ***/
user_pref("browser.newtabpage.activity-stream.default.sites", "");
/*** QUIETER FOX ***/
/* disable recommendation pane in about:addons (uses Google Analytics) ***/
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF]
/* recommendations in about:addons' Extensions and Themes panes [FF68+] ***/
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
/* personalized Extension Recommendations in about:addons and AMO [FF65+]
* https://support.mozilla.org/kb/personalized-extension-recommendations ***/
user_pref("browser.discovery.enabled", false);
/** TELEMETRY ***/
/* disable new data submission */
user_pref("datareporting.policy.dataSubmissionEnabled", false);
/* disable Health Reports */
user_pref("datareporting.healthreport.uploadEnabled", false);
/* 0332: disable telemetry */
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);
/* disable Telemetry Coverage */
user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
user_pref("toolkit.coverage.endpoint.base", "");
/* disable PingCentre telemetry (used in several System Add-ons) [FF57+] */
user_pref("browser.ping-centre.telemetry", false);
/* disable Firefox Home (Activity Stream) telemetry ***/
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false);
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
user_pref("toolkit.telemetry.shutdownPingSender.enabledFirstsession", false);
/** STUDIES ***/
/* disable Studies ***/
user_pref("app.shield.optoutstudies.enabled", false);
/* disable Normandy/Shield [FF60+]
* Shield is a telemetry system that can push and test "recipes" ***/
user_pref("app.normandy.enabled", false);
user_pref("app.normandy.api_url", "");
/** CRASH REPORTS ***/
/* disable Crash Reports ***/
user_pref("breakpad.reportURL", "");
user_pref("browser.tabs.crashReporting.sendReport", false);
/* enforce no submission of backlogged Crash Reports [FF58+]
* [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send backlogged crash reports ***/
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
/** OTHER ***/
/* 0360: disable Captive Portal detection
* [1] https://www.eff.org/deeplinks/2017/08/how-captive-portals-interfere-wireless-security-and-privacy ***/
user_pref("captivedetect.canonicalURL", "");
user_pref("network.captive-portal-service.enabled", false);
/* disable Network Connectivity checks
* [1] https://bugzilla.mozilla.org/1460537 ***/
user_pref("network.connectivity-service.enabled", false);
/*** [GEOLOCATION / LANGUAGE / LOCALE ***/
/* use Mozilla geolocation service instead of Google.*/
user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
/* disable using the OS's geolocation service ***/
user_pref("geo.provider.ms-windows-location", false); // [WINDOWS]
user_pref("geo.provider.use_corelocation", false); // [MAC]
user_pref("geo.provider.use_gpsd", false); // [LINUX]
user_pref("geo.provider.use_geoclue", false); // [FF102+] [LINUX]
// Integrated calculator at urlbar
user_pref("browser.urlbar.suggest.calculator", true);