This commit is contained in:
Korbs 2024-09-30 18:45:28 -04:00
parent d1d2bb5e77
commit f719b596d4
3 changed files with 157 additions and 1 deletions

View file

@ -2,6 +2,17 @@
This is built for the GNOME version of Fedora.
**To Do List**
- Prompts to choose:
- Browser [LibreWolf or Zen]
- Video player [VLC or ShowTime]
- Music streaming [Spotify, TIDAL, or Apple Music(Cider)...or use a local media player]
- Terminal [Blackbox, GNOME Console, or Ptynis]
- VPN [Mullvad, IVPN, or ~~Proton~~]
- Themes [Light or Dark]
- Allow to disable certains parts to the script, like the "As a developer" portion
- Use Zenity?
## Requirements
- Flatpak
- Flathub Repository Enabled
@ -52,8 +63,8 @@ This is built for the GNOME version of Fedora.
- Obfuscate
- Paraboblic
- Session
- Shotcut
- Spotify
- Shotcut
- Video Trimmer
- VLC
- VSCodium

134
configs/librewolf.js Normal file
View file

@ -0,0 +1,134 @@
user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1727732913);
user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 1727732913);
user_pref("app.update.lastUpdateTime.services-settings-poll-changes", 1727732913);
user_pref("app.update.lastUpdateTime.xpi-signature-verification", 1727732913);
user_pref("browser.bookmarks.addedImportButton", true);
user_pref("browser.bookmarks.restore_default_bookmarks", false);
user_pref("browser.contentblocking.category", "strict");
user_pref("browser.dom.window.dump.enabled", false);
user_pref("browser.download.autohideButton", true);
user_pref("browser.download.useDownloadDir", true);
user_pref("browser.download.viewableInternally.typeWasRegistered.avif", true);
user_pref("browser.download.viewableInternally.typeWasRegistered.webp", true);
user_pref("browser.formfill.enable", true);
user_pref("browser.migration.version", 149);
user_pref("browser.newtabpage.activity-stream.showSearch", false);
user_pref("browser.newtabpage.enabled", false);
user_pref("browser.newtabpage.storageVersion", 1);
user_pref("browser.pageActions.persistedActions", "{\"ids\":[\"bookmark\"],\"idsInUrlbar\":[\"bookmark\"],\"idsInUrlbarPreProton\":[],\"version\":1}");
user_pref("browser.pagethumbnails.storage_version", 3);
user_pref("browser.policies.applied", true);
user_pref("browser.policies.runOncePerModification.extensionsInstall", "[\"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi\"]");
user_pref("browser.policies.runOncePerModification.extensionsUninstall", "[\"google@search.mozilla.org\",\"bing@search.mozilla.org\",\"amazondotcom@search.mozilla.org\",\"ebay@search.mozilla.org\",\"twitter@search.mozilla.org\"]");
user_pref("browser.policies.runOncePerModification.removeSearchEngines", "[\"Google\",\"Bing\",\"Amazon.com\",\"eBay\",\"Twitter\"]");
user_pref("browser.policies.runOncePerModification.setDefaultSearchEngine", "DuckDuckGo");
user_pref("browser.proton.toolbar.version", 3);
user_pref("browser.region.network.url", "");
user_pref("browser.region.update.enabled", false);
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
user_pref("browser.safebrowsing.downloads.remote.url", "");
user_pref("browser.safebrowsing.provider.google4.dataSharingURL", "");
user_pref("browser.safebrowsing.provider.mozilla.lastupdatetime", "1727732891213");
user_pref("browser.safebrowsing.provider.mozilla.nextupdatetime", "1727754491213");
user_pref("browser.search.separatePrivateDefault", false);
user_pref("browser.search.suggest.enabled", true);
user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20240920125038");
user_pref("browser.startup.couldRestoreSession.count", 2);
user_pref("browser.startup.homepage", "chrome://browser/content/blanktab.html");
user_pref("browser.startup.lastColdStartupCheck", 1727735260);
user_pref("browser.tabs.inTitlebar", 1);
user_pref("browser.tabs.tabmanager.enabled", false);
user_pref("browser.theme.content-theme", 0);
user_pref("browser.theme.toolbar-theme", 0);
user_pref("browser.toolbars.bookmarks.visibility", "never");
user_pref("browser.translations.automaticallyPopup", false);
user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[\"ublock0_raymondhill_net-browser-action\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"urlbar-container\",\"save-to-pocket-button\",\"downloads-button\",\"fxa-toolbar-menu-button\",\"unified-extensions-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"]},\"seen\":[\"developer-button\",\"ublock0_raymondhill_net-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"unified-extensions-area\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":20,\"newElementCount\":3}");
user_pref("browser.urlbar.placeholderName", "DuckDuckGo");
user_pref("browser.urlbar.shortcuts.bookmarks", false);
user_pref("browser.urlbar.suggest.bookmark", false);
user_pref("browser.urlbar.suggest.searches", true);
user_pref("captivedetect.canonicalURL", "");
user_pref("clipboard.autocopy", false);
user_pref("devtools.console.stdout.chrome", false);
user_pref("devtools.debugger.remote-enabled", false);
user_pref("distribution.iniFile.exists.appversion", "130.0.1-1");
user_pref("distribution.iniFile.exists.value", false);
user_pref("dom.forms.autocomplete.formautofill", true);
user_pref("dom.private-attribution.submission.enabled", false);
user_pref("dom.push.userAgentID", "a3909a544fd7491ea4d7a02f9560e501");
user_pref("dom.security.https_only_mode_ever_enabled", true);
user_pref("extensions.activeThemeID", "firefox-compact-dark@mozilla.org");
user_pref("extensions.blocklist.pingCountVersion", 0);
user_pref("extensions.databaseSchema", 36);
user_pref("extensions.getAddons.cache.lastUpdate", 1727732913);
user_pref("extensions.getAddons.databaseSchema", 6);
user_pref("extensions.lastAppBuildId", "20240920125038");
user_pref("extensions.lastAppVersion", "130.0.1-1");
user_pref("extensions.lastPlatformVersion", "130.0.1");
user_pref("extensions.pendingOperations", false);
user_pref("extensions.pictureinpicture.enable_picture_in_picture_overrides", true);
user_pref("extensions.systemAddonSet", "{\"schema\":1,\"addons\":{}}");
user_pref("extensions.ui.dictionary.hidden", true);
user_pref("extensions.ui.lastCategory", "addons://list/theme");
user_pref("extensions.ui.locale.hidden", true);
user_pref("extensions.ui.sitepermission.hidden", true);
user_pref("extensions.webcompat.enable_shims", true);
user_pref("extensions.webcompat.perform_injections", true);
user_pref("extensions.webcompat.perform_ua_overrides", true);
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.screenshots@mozilla.org", true);
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.uBlock0@raymondhill.net", true);
user_pref("extensions.webextensions.uuids", "{\"formautofill@mozilla.org\":\"3cc3049d-7aec-42ef-bd90-5e66cff9d2f2\",\"pictureinpicture@mozilla.org\":\"6ab192b3-0720-4b44-a19e-3e31f8f9d519\",\"screenshots@mozilla.org\":\"5b0224ac-c627-4b4a-9dff-d528284d05b5\",\"webcompat@mozilla.org\":\"68256d85-979c-457e-b123-f6791cbcce95\",\"default-theme@mozilla.org\":\"b4658b55-36b5-4b8e-9e88-1f75b587d2e1\",\"addons-search-detection@mozilla.com\":\"d6402efb-dcfd-4a5b-9727-23e6f92cab26\",\"uBlock0@raymondhill.net\":\"9348920c-f7a7-4fd0-8cbf-8151918e2bd6\",\"firefox-compact-dark@mozilla.org\":\"bb901467-196a-4e53-9897-f7e81d77a18b\"}");
user_pref("gecko.handlerService.defaultHandlersVersion", 1);
user_pref("idle.lastDailyNotification", 1727733446);
user_pref("intl.accept_languages", "en-US, en");
user_pref("javascript.use_us_english_locale", true);
user_pref("layout.css.prefers-color-scheme.content-override", 0);
user_pref("media.gmp-manager.buildID", "20240920125038");
user_pref("media.gmp-manager.lastCheck", 1727732929);
user_pref("media.gmp-manager.lastEmptyCheck", 1727732929);
user_pref("media.gmp.storage.version.observed", 1);
user_pref("middlemouse.paste", false);
user_pref("network.captive-portal-service.enabled", false);
user_pref("network.connectivity-service.enabled", false);
user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true);
user_pref("network.http.speculative-parallel-limit", 0);
user_pref("network.predictor.enabled", false);
user_pref("network.prefetch-next", false);
user_pref("pdfjs.enabledCache.state", true);
user_pref("pdfjs.migrationVersion", 2);
user_pref("permissions.delegation.enabled", false);
user_pref("permissions.manager.defaultsUrl", "");
user_pref("places.database.lastMaintenance", 1727733446);
user_pref("pref.privacy.disable_button.cookie_exceptions", false);
user_pref("privacy.annotate_channels.strict_list.enabled", true);
user_pref("privacy.bounceTrackingProtection.hasMigratedUserActivationData", true);
user_pref("privacy.clearOnShutdown_v2.cache", false);
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", false);
user_pref("privacy.donottrackheader.enabled", true);
user_pref("privacy.fingerprintingProtection", true);
user_pref("privacy.globalprivacycontrol.was_ever_enabled", true);
user_pref("privacy.history.custom", true);
user_pref("privacy.purge_trackers.date_in_cookie_database", "0");
user_pref("privacy.purge_trackers.last_purge", "1727733446373");
user_pref("privacy.query_stripping.enabled", true);
user_pref("privacy.query_stripping.enabled.pbmode", true);
user_pref("privacy.resistFingerprinting", false);
user_pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]");
user_pref("privacy.sanitize.sanitizeOnShutdown", false);
user_pref("privacy.trackingprotection.emailtracking.enabled", true);
user_pref("privacy.trackingprotection.enabled", true);
user_pref("privacy.trackingprotection.socialtracking.enabled", true);
user_pref("security.tls.enable_0rtt_data", false);
user_pref("services.sync.engine.addresses.available", true);
user_pref("signon.firefoxRelay.feature", "disabled");
user_pref("signon.generation.enabled", false);
user_pref("signon.management.page.breach-alerts.enabled", false);
user_pref("storage.vacuum.last.index", 0);
user_pref("storage.vacuum.last.places.sqlite", 1727733446);
user_pref("toolkit.startup.last_success", 1727735202);
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
user_pref("toolkit.winRegisterApplicationRestart", false);
user_pref("webchannel.allowObject.urlWhitelist", "");
user_pref("widget.gtk.overlay-scrollbars.enabled", false);

11
settings/librewolf.sh Normal file
View file

@ -0,0 +1,11 @@
# Does the LibreWolf directory exist?
if [ -d "~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default" ]; then
echo "The LibreWolf directory does exist. This means you haven't opened LibreWolf yet."
echo "Open LibreWolf so the directory can be generated, then close it. Run this script again."
fi
# Backup original prefs file
cp ~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default/prefs.js ~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default/prefs-default.js
# Apply custom prefs file
cp ./configs/librewolf.js ~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default/prefs.js