diff --git a/README.md b/README.md index ed01ae8..b822faf 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,21 @@ # Quick Linux setup -This is built for the GNOME version of Fedora. +This is built for the GNOME version of Fedora Workstation. **To Do List** + - Allow to disable certain parts to the script, like the "As a developer" portion - Prompts to choose: - - Browser [LibreWolf or Zen] + - Browser [GNOME Web, LibreWolf, Vivaldi, 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 + - Flatpak ## Settings - Switch Appearance to Dark Mode @@ -70,6 +70,5 @@ This is built for the GNOME version of Fedora. - VSCodium # Packages to be Installed (As a developer) - - ADB - - Bun - - NodeJS \ No newline at end of file + - Buildah + - Bun \ No newline at end of file diff --git a/configs/.npmrc b/configs/.npmrc new file mode 100644 index 0000000..cb4db89 --- /dev/null +++ b/configs/.npmrc @@ -0,0 +1 @@ +registry:https://js.registry.sudovanilla.org \ No newline at end of file diff --git a/configs/libredirect-settings-v3.0.2.json b/configs/libredirect-settings-v3.0.2.json new file mode 100644 index 0000000..d8b63b6 --- /dev/null +++ b/configs/libredirect-settings-v3.0.2.json @@ -0,0 +1,547 @@ +{ + "youtube": { + "enabled": true, + "redirectType": "both", + "frontend": "invidious", + "embedFrontend": "invidious", + "unsupportedUrls": "bypass", + "redirectOnlyInIncognito": false + }, + "invidious": [ + "https://inv.nadeko.net" + ], + "materialious": [ + "https://app.materialio.us" + ], + "piped": [ + "https://pipedapi-libre.kavin.rocks" + ], + "pipedMaterial": [ + "https://piped-material.xn--17b.net" + ], + "poketube": [ + "https://poketube.fun", + "https://pt.sudovanilla.org" + ], + "cloudtube": [ + "https://tube.cadence.moe" + ], + "lightTube": [ + "https://tube.kuylar.dev" + ], + "tuboYoutube": [ + "https://tubo.migalmoreno.com" + ], + "viewtube": [ + "https://viewtube.io" + ], + "youtubeMusic": { + "enabled": true, + "frontend": "hyperpipe", + "unsupportedUrls": "bypass", + "redirectOnlyInIncognito": false, + "redirectType": "main_frame" + }, + "hyperpipe": [ + "https://hyperpipe.surge.sh" + ], + "invidiousMusic": [], + "twitter": { + "enabled": true, + "redirectType": "both", + "unsupportedUrls": "bypass", + "frontend": "nitter", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "nitter": [ + "https://nitter.privacydev.net" + ], + "bluesky": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "skyview", + "redirectOnlyInIncognito": false + }, + "skyview": [ + "https://skyview.social" + ], + "reddit": { + "enabled": true, + "frontend": "redlib", + "unsupportedUrls": "bypass", + "instance": "public", + "redirectType": "main_frame", + "redirectOnlyInIncognito": false + }, + "libreddit": [ + "https://libreddit.spike.codes" + ], + "redlib": [ + "https://reddit.sudovanilla.org" + ], + "teddit": [ + "https://teddit.net" + ], + "tumblr": { + "enabled": false, + "redirectType": "main_frame", + "unsupportedUrls": "bypass", + "frontend": "priviblur", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "priviblur": [ + "https://pb.bloat.cat" + ], + "twitch": { + "enabled": true, + "redirectType": "main_frame", + "unsupportedUrls": "bypass", + "frontend": "safetwitch", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "safetwitch": [ + "https://twitch.sudovanilla.org" + ], + "twineo": [ + "https://twineo.exozy.me" + ], + "tiktok": { + "enabled": true, + "unsupportedUrls": "bypass", + "frontend": "proxiTok", + "instance": "public", + "redirectOnlyInIncognito": false, + "redirectType": "main_frame" + }, + "proxiTok": [ + "https://proxitok.pabloferreiro.es" + ], + "instagram": { + "enabled": true, + "frontend": "proxigram", + "unsupportedUrls": "bypass", + "instance": "public", + "redirectType": "main_frame", + "redirectOnlyInIncognito": false + }, + "proxigram": [ + "https://ig.opnxng.com" + ], + "imdb": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "libremdb", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "libremdb": [ + "https://libremdb.iket.me" + ], + "bilibili": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "mikuInvidious", + "redirectOnlyInIncognito": false + }, + "mikuInvidious": [ + "https://mikuinv.resrv.org" + ], + "pixiv": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "pixivFe", + "redirectOnlyInIncognito": false + }, + "pixivFe": [ + "https://pixivfe.exozy.me" + ], + "fandom": { + "enabled": false, + "unsupportedUrls": "bypass", + "instance": "public", + "frontend": "breezeWiki", + "redirectOnlyInIncognito": false + }, + "breezeWiki": [ + "https://breezewiki.com" + ], + "imgur": { + "enabled": true, + "redirectType": "main_frame", + "unsupportedUrls": "bypass", + "frontend": "rimgo", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "rimgo": [ + "https://imgur.sudovanilla.org" + ], + "pinterest": { + "enabled": false, + "unsupportedUrls": "bypass", + "redirectType": "main_frame", + "frontend": "binternet", + "redirectOnlyInIncognito": false + }, + "binternet": [ + "https://bn.bloat.cat" + ], + "soundcloud": { + "enabled": false, + "redirectType": "main_frame", + "frontend": "tuboSoundcloud", + "unsupportedUrls": "bypass", + "redirectOnlyInIncognito": false + }, + "tuboSoundcloud": [ + "https://tubo.migalmoreno.com" + ], + "bandcamp": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "tent", + "redirectOnlyInIncognito": false + }, + "tent": [ + "https://tent.sny.sh" + ], + "tekstowo": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "tekstoLibre", + "redirectOnlyInIncognito": false + }, + "tekstoLibre": [ + "https://davilarek.github.io/TekstoLibre" + ], + "genius": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "dumb", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "dumb": [ + "https://dm.vern.cc" + ], + "intellectual": [ + "https://intellectual.insprill.net" + ], + "medium": { + "frontend": "scribe", + "enabled": true, + "unsupportedUrls": "bypass", + "redirectType": "main_frame", + "redirectOnlyInIncognito": false + }, + "scribe": [ + "https://read.sudovanilla.org" + ], + "libMedium": [ + "https://md.vern.cc" + ], + "quora": { + "enabled": true, + "unsupportedUrls": "bypass", + "frontend": "quetre", + "instance": "public", + "redirectType": "main_frame", + "redirectOnlyInIncognito": false + }, + "quetre": [ + "https://ask.sudovanilla.org" + ], + "github": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "gothub", + "redirectOnlyInIncognito": false + }, + "gothub": [ + "https://gh.odyssey346.dev" + ], + "gitlab": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "laboratory", + "redirectOnlyInIncognito": false + }, + "laboratory": [ + "https://lab.vern.cc" + ], + "stackOverflow": { + "enabled": true, + "unsupportedUrls": "bypass", + "frontend": "anonymousOverflow", + "instance": "public", + "redirectType": "main_frame", + "redirectOnlyInIncognito": false + }, + "anonymousOverflow": [ + "https://o.sudovanilla.org" + ], + "reuters": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "neuters", + "redirectOnlyInIncognito": false + }, + "neuters": [ + "https://neuters.de" + ], + "snopes": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "suds", + "redirectOnlyInIncognito": false + }, + "suds": [ + "https://sd.vern.cc" + ], + "ifunny": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "unfunny", + "redirectOnlyInIncognito": false + }, + "unfunny": [ + "https://uf.vern.cc" + ], + "tenor": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "soprano", + "redirectOnlyInIncognito": false + }, + "soprano": [ + "https://sp.vern.cc" + ], + "knowyourmeme": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "meme", + "redirectOnlyInIncognito": false + }, + "meme": [ + "https://mm.vern.cc" + ], + "urbanDictionary": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "ruralDictionary", + "redirectOnlyInIncognito": false + }, + "ruralDictionary": [ + "https://rd.vern.cc" + ], + "goodreads": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "biblioReads", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "biblioReads": [ + "https://biblioreads.ml" + ], + "wolframAlpha": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "wolfreeAlpha", + "redirectOnlyInIncognito": false + }, + "wolfreeAlpha": [ + "https://gqq.gitlab.io", + "https://uqq.gitlab.io" + ], + "instructables": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "indestructables", + "redirectOnlyInIncognito": false + }, + "indestructables": [ + "https://indestructables.private.coffee" + ], + "destructables": [ + "https://ds.vern.cc" + ], + "wikipedia": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "wikiless", + "redirectOnlyInIncognito": false + }, + "wikiless": [ + "https://wikiless.org" + ], + "waybackMachine": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "waybackClassic", + "redirectOnlyInIncognito": false + }, + "waybackClassic": [ + "https://wayback-classic.net" + ], + "search": { + "enabled": true, + "frontend": "4get", + "unsupportedUrls": "bypass", + "instance": "public", + "redirectType": "main_frame", + "redirectGoogle": true, + "redirectOnlyInIncognito": true + }, + "searxng": [ + "https://search.bus-hit.me" + ], + "searx": [], + "whoogle": [], + "librey": [], + "4get": [ + "https://4get.sudovanilla.org" + ], + "translate": { + "enabled": false, + "frontend": "simplyTranslate", + "unsupportedUrls": "bypass", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "simplyTranslate": [ + "https://simplytranslate.org" + ], + "mozhi": [ + "https://mozhi.aryak.me" + ], + "libreTranslate": [], + "maps": { + "redirectType": "main_frame", + "enabled": false, + "frontend": "osm", + "unsupportedUrls": "bypass", + "redirectOnlyInIncognito": false + }, + "osm": [ + "https://www.openstreetmap.org" + ], + "meet": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "jitsi", + "redirectOnlyInIncognito": false + }, + "jitsi": [], + "sendFiles": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "send", + "redirectOnlyInIncognito": false + }, + "send": [], + "textStorage": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "privateBin", + "redirectOnlyInIncognito": false + }, + "privateBin": [], + "pasted": [ + "https://pasted.drakeerv.com" + ], + "ultimateGuitar": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "freetar", + "redirectOnlyInIncognito": false + }, + "freetar": [ + "https://freetar.de" + ], + "exceptions": { + "url": [], + "regex": [] + }, + "theme": "dark", + "popupServices": [ + "youtube", + "tiktok", + "imgur", + "reddit", + "quora", + "translate", + "maps", + "search" + ], + "fetchInstances": "codeberg", + "redirectOnlyInIncognito": false, + "ytify": [ + "https://ytify.netlify.app" + ], + "eddrit": [ + "https://eddrit.com" + ], + "liteXiv": [ + "https://litexiv.exozy.me" + ], + "pastebin": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "pasted", + "instance": "public", + "redirectOnlyInIncognito": false + }, + "translite": [ + "https://tl.bloat.cat" + ], + "baiduTieba": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "ratAintTieba", + "redirectOnlyInIncognito": false + }, + "ratAintTieba": [ + "https://rat.fis.land" + ], + "threads": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "shoelace", + "redirectOnlyInIncognito": false + }, + "shoelace": [ + "https://shoelace.mint.lgbt" + ], + "deviantArt": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "skunkyArt", + "redirectOnlyInIncognito": false + }, + "skunkyArt": [ + "https://skunky.bloat.cat" + ], + "geeksForGeeks": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "nerdsForNerds", + "redirectOnlyInIncognito": false + }, + "nerdsForNerds": [ + "https://nn.vern.cc" + ], + "coub": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "koub", + "redirectOnlyInIncognito": false + }, + "koub": [ + "https://koub.clovius.club" + ], + "version": "3.0.2" +} \ No newline at end of file diff --git a/configs/librewolf.js b/configs/librewolf.js new file mode 100644 index 0000000..c5a071d --- /dev/null +++ b/configs/librewolf.js @@ -0,0 +1,154 @@ +user_pref("accessibility.typeaheadfind.flashBar", 0); +user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1734069248); +user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 1734114824); +user_pref("app.update.lastUpdateTime.services-settings-poll-changes", 1734069248); +user_pref("app.update.lastUpdateTime.xpi-signature-verification", 1734069248); +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.panel.shown", 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.engagement.ctrlTab.has-used", true); +user_pref("browser.engagement.downloads-button.has-used", true); +user_pref("browser.formfill.enable", true); +user_pref("browser.migration.version", 150); +user_pref("browser.newtabpage.activity-stream.impressionId", "{9d10c11d-2af1-44d2-9e02-1b44c99cdde3}"); +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.search.separatePrivateDefault", false); +user_pref("browser.search.totalSearches", 1); +user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20241129191849"); +user_pref("browser.startup.couldRestoreSession.count", 2); +user_pref("browser.startup.homepage", "chrome://browser/content/blanktab.html"); +user_pref("browser.startup.lastColdStartupCheck", 1734115962); +user_pref("browser.theme.content-theme", 0); +user_pref("browser.theme.toolbar-theme", 0); +user_pref("browser.toolbars.bookmarks.visibility", "never"); +user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[\"ublock0_raymondhill_net-browser-action\",\"7esoorv3_alefvanoon_anonaddy_me-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\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"alltabs-button\"],\"vertical-tabs\":[],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"]},\"seen\":[\"developer-button\",\"ublock0_raymondhill_net-browser-action\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"7esoorv3_alefvanoon_anonaddy_me-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"vertical-tabs\",\"PersonalToolbar\",\"unified-extensions-area\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":20,\"newElementCount\":4}"); +user_pref("browser.urlbar.recentsearches.lastDefaultChanged", "1734069642659"); +user_pref("browser.urlbar.shortcuts.bookmarks", false); +user_pref("browser.urlbar.shortcuts.tabs", false); +user_pref("browser.urlbar.suggest.bookmark", false); +user_pref("browser.urlbar.suggest.openpage", false); +user_pref("browser.urlbar.suggest.topsites", false); +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("devtools.everOpened", true); +user_pref("devtools.inspector.activeSidebar", "ruleview"); +user_pref("devtools.inspector.three-pane-enabled", false); +user_pref("devtools.netmonitor.columnsData", "[{\"name\":\"status\",\"minWidth\":30,\"width\":5.56},{\"name\":\"method\",\"minWidth\":30,\"width\":5.56},{\"name\":\"domain\",\"minWidth\":30,\"width\":11.11},{\"name\":\"file\",\"minWidth\":30,\"width\":27.78},{\"name\":\"url\",\"minWidth\":30,\"width\":25},{\"name\":\"initiator\",\"minWidth\":30,\"width\":11.11},{\"name\":\"type\",\"minWidth\":30,\"width\":5.56},{\"name\":\"transferred\",\"minWidth\":30,\"width\":11.11},{\"name\":\"contentSize\",\"minWidth\":30,\"width\":5.56},{\"name\":\"waterfall\",\"minWidth\":150,\"width\":16.67}]"); +user_pref("devtools.netmonitor.msg.visibleColumns", "[\"data\",\"time\"]"); +user_pref("devtools.toolbox.host", "right"); +user_pref("devtools.toolbox.previousHost", "bottom"); +user_pref("devtools.toolbox.sidebar.width", 856); +user_pref("devtools.toolsidebar-height.inspector", 350); +user_pref("devtools.toolsidebar-width.inspector", 431); +user_pref("devtools.toolsidebar-width.inspector.splitsidebar", 350); +user_pref("distribution.iniFile.exists.appversion", "133.0-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", "5847e997af0b4d7dbcf680058de00a71"); +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.formautofill.creditCards.reauth.optout", "MDIEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECCbD8pI0fuCnBAgCkZlVaRKlcQ=="); +user_pref("extensions.getAddons.cache.lastUpdate", 1734069248); +user_pref("extensions.getAddons.databaseSchema", 6); +user_pref("extensions.lastAppBuildId", "20241129191849"); +user_pref("extensions.lastAppVersion", "133.0-1"); +user_pref("extensions.lastPlatformVersion", "133.0"); +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.extension.hidden", false); +user_pref("extensions.ui.lastCategory", "addons://list/extension"); +user_pref("extensions.ui.locale.hidden", true); +user_pref("extensions.ui.sitepermission.hidden", true); +user_pref("extensions.update.autoUpdateDefault", false); +user_pref("extensions.update.enabled", false); +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.7esoorv3@alefvanoon.anonaddy.me", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.screenshots@mozilla.org", false); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.uBlock0@raymondhill.net", true); +user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{446900e4-71c2-419f-a6a7-df9c091e268b}", true); +user_pref("extensions.webextensions.uuids", "{\"formautofill@mozilla.org\":\"76b97294-33be-4567-90e0-4f67d4be4f94\",\"pictureinpicture@mozilla.org\":\"bc336b53-0d4a-4228-8afe-6f68c4dd716d\",\"screenshots@mozilla.org\":\"b6cd2006-f449-4cfb-b3ae-c308463aae69\",\"webcompat@mozilla.org\":\"c1b4faae-d955-4bf5-9a03-b1f967fa9538\",\"default-theme@mozilla.org\":\"668d1161-3625-4aad-8666-6b2a0f751697\",\"addons-search-detection@mozilla.com\":\"cfd10ba6-bec7-46d2-bd99-407a85ec7ef8\",\"uBlock0@raymondhill.net\":\"1da28c3d-ec18-4eeb-9578-13817268778c\",\"firefox-compact-dark@mozilla.org\":\"ddf9875f-dad8-4ede-809a-38be9ce74e7e\",\"{446900e4-71c2-419f-a6a7-df9c091e268b}\":\"929342eb-a27b-4393-a6fa-1923b4abfd1c\",\"7esoorv3@alefvanoon.anonaddy.me\":\"b4b9e70d-f21b-40c9-ab83-bdc80760c8c8\"}"); +user_pref("gecko.handlerService.defaultHandlersVersion", 1); +user_pref("layout.css.prefers-color-scheme.content-override", 0); +user_pref("media.gmp-manager.buildID", "20241129191849"); +user_pref("media.gmp-manager.lastCheck", 1734069580); +user_pref("media.gmp-manager.lastEmptyCheck", 1734069580); +user_pref("media.gmp.storage.version.observed", 1); +user_pref("media.hardwaremediakeys.enabled", false); +user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false); +user_pref("media.videocontrols.picture-in-picture.video-toggle.first-seen-secs", 1734116570); +user_pref("media.videocontrols.picture-in-picture.video-toggle.has-used", false); +user_pref("middlemouse.paste", false); +user_pref("network.captive-portal-service.enabled", false); +user_pref("network.connectivity-service.enabled", false); +user_pref("network.cookie.cookieBehavior.optInPartitioning", true); +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("privacy.annotate_channels.strict_list.enabled", true); +user_pref("privacy.bounceTrackingProtection.hasMigratedUserActivationData", true); +user_pref("privacy.bounceTrackingProtection.mode", 1); +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.enabled", false); +user_pref("privacy.globalprivacycontrol.was_ever_enabled", true); +user_pref("privacy.history.custom", true); +user_pref("privacy.query_stripping.enabled", true); +user_pref("privacy.query_stripping.enabled.pbmode", true); +user_pref("privacy.resistFingerprinting", false); +user_pref("privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts", true); +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("privacy.userContext.enabled", false); +user_pref("security.tls.enable_0rtt_data", false); +user_pref("services.sync.engine.addresses.available", true); +user_pref("sidebar.backupState", "{\"width\":\"\",\"command\":\"\"}"); +user_pref("signon.management.page.breach-alerts.enabled", false); +user_pref("signon.management.page.os-auth.optout", "MDIEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECCoomuR2MN1hBAhazuvP/ZtM4A=="); +user_pref("toolkit.startup.last_success", 1734115960); +user_pref("toolkit.telemetry.cachedClientID", "3427ddcc-2203-450a-9ca0-4edb779fea9e"); +user_pref("toolkit.telemetry.cachedProfileGroupID", "712c6b27-4f97-4cc7-b7f4-0a8cfdacbd1e"); +user_pref("toolkit.telemetry.reportingpolicy.firstRun", false); +user_pref("toolkit.winRegisterApplicationRestart", false); +user_pref("webchannel.allowObject.urlWhitelist", ""); +user_pref("webgl.disabled", false); diff --git a/configs/vscodium.json b/configs/vscodium.json new file mode 100644 index 0000000..92239c9 --- /dev/null +++ b/configs/vscodium.json @@ -0,0 +1,28 @@ +{ + "terminal.integrated.defaultProfile.linux": "bash", + "terminal.integrated.profiles.linux": { + "bash": { + "path": "/app/bin/host-spawn", + "args": [ + "bash" + ], + "icon": "terminal-bash", + "overrideName": true + } + }, + "workbench.activityBar.location": "hidden", + "workbench.statusBar.visible": false, + "editor.minimap.enabled": false, + "breadcrumbs.enabled": false, + "editor.stickyScroll.enabled": false, + "editor.renderWhitespace": "none", + "editor.renderControlCharacters": false, + "workbench.startupEditor": "none", + "javascript.updateImportsOnFileMove.enabled": "never", + "git.openRepositoryInParentFolders": "never", + "window.customTitleBarVisibility": "auto", + "window.doubleClickIconToClose": true, + "workbench.layoutControl.enabled": false, + "window.commandCenter": false, + "window.menuBarVisibility": "toggle" +} \ No newline at end of file diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..c742d6e --- /dev/null +++ b/run.sh @@ -0,0 +1,126 @@ +#!/usr/bin/env bash +set -e + +# Check if it was ran with "sudo" or not +if [[ $(id -u) != 0 ]]; then + echo "Please run script with 'sudo'" + echo "Try 'sudo su'" + exit 1 +fi + +# Init +clear +echo "Updating your system..." +sudo dnf update --quiet --refresh --allowerasing -y + +# Dotfiles +cd ~/ +wget https://ark.sudovanilla.org/Korbs/Quick-Linux-Setup/raw/branch/main/configs/.npmrc + +# Apply GNOME Settings +clear +echo "Changing settings for GNOME..." +echo "Enabling dark mode..." +gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" +sleep 1 + +echo "Turning off mouse acceleration..." +gsettings set org.gnome.desktop.peripherals.mouse accel-profile 'flat' +sleep 1 + +echo "Turning of hot corners..." +gsettings set org.gnome.desktop.interface enable-hot-corners false +sleep 1 + +echo "Filehistory will clear every week..." +gsettings set org.gnome.desktop.privacy recent-files-max-age 7 +sleep 1 + +echo "Trash and temporary files will clear every week..." +gsettings set org.gnome.desktop.privacy old-files-age 7 +sleep 1 + +gsettings set org.gnome.desktop.privacy remove-old-temp-files true +sleep 1 + +gsettings set org.gnome.desktop.privacy remove-old-trash-files true +sleep 1 + +gsettings set org.gnome.desktop.interface enable-hot-corners false +sleep 1 + + +# Uninstall Apps and Packages +clear +echo "Removing unused content and applications..." +sudo dnf remove --quiet -y firef* firew* anaconda document-scanner fedora-bookmarks fedora-chromium-config gnome-clocks gnome-color-manager gnome-contacts gnome-getting-started-docs gnome-initial-setup gnome-maps gnome-online-miners gnome-remote-desktop gnome-user-docs gnome-weather gnome-characters gnome-classic-session gnome-classic-session-xsession gnome-color-manager gnome-connections gnome-disk-utility gnome-font-viewer gnome-logs gnome-shell-extension-apps-menu gnome-shell-extension-background-logo gnome-shell-extension-common gnome-shell-extension-launch-new-instance gnome-shell-extension-places-menu gnome-shell-extension-window-list gnome-system-monitor gnome-terminal gnome-text-editor gnome-tour ibus-hangul ibus-kkc ibus-libpinyin ibus-libzhuyin ibus-m17n ibus-typing-booster khmeros-base-fonts libreoffice-calc libreoffice-impress libreport problem-reporting rhythmbox sane-airscan simple-scan speech-dispatcher thai-scalable-waree-fonts totem tracker yelp + +# Install Apps +clear +echo "Installing applications..." +sudo dnf config-manager --add-repo https://repository.mullvad.net/rpm/stable/mullvad.repo +sudo dnf install --quiet -y mullvad-vpn openssl + +flatpak install \ +com.vscodium.codium \ +io.gitlab.librewolf-community \ +com.spotify.Client \ +com.belmoussaoui.Obfuscate \ +org.videolan.VLC \ +org.nickvision.tubeconverter \ +cafe.avery.Delfin \ +de.haeckerfelix.Fragments \ +org.gnome.gitlab.YaLTeR.VideoTrimmer \ +com.github.tchx84.Flatseal \ +de.schmidhuberj.Flare \ +org.gnome.Fractal \ +io.missioncenter.MissionCenter + +# Install Packages +clear +echo "Installing Nautilus and ADB..." +sudo dnf install --quiet -y nautilus adb fastboot + +clear +echo "Installing Bun..." + +curl -fsSL https://bun.sh/install | bash +source ~/.bashrc + +clear +echo "Installing NodeJS..." + +sudo dnf install nodejs -y --quiet + +# Patches and Apply +clear +echo "Patching Spotify..." + +## Spotify +bash <(curl -sSL https://spotx-official.github.io/run.sh) -h -d -f + +# GNOME Extensions (Currently set for GNOME 46) +clear +echo "Installing GNOME extensions..." +cd ~/Downloads/ +wget https://extensions.gnome.org/extension-data/gsconnectandyholmes.github.io.v57.shell-extension.zip +wget https://extensions.gnome.org/extension-data/rounded-window-cornersfxgn.v3.shell-extension.zip + +clear +echo "Restarting GNOME is required, please restart the session soon." +echo "After restarting the session, run 'sh ./enable-extensions.sh'" +sleep 5 + +# Ending-Run +clear +echo "Finishing up..." + +sudo dnf autoremove +sudo dnf clean all + +# After-Run +echo "Completed." +sleep 1 + +echo "For the LibRedirect extension, the configuration is available here:" +echo "https://ark.sudovanilla.org/Korbs/Quick-Linux-Setup/raw/branch/main/configs/libredirect-settings-v2.9.0.json" \ No newline at end of file diff --git a/settings/librewolf.sh b/settings/librewolf.sh new file mode 100644 index 0000000..f6699c4 --- /dev/null +++ b/settings/librewolf.sh @@ -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 \ No newline at end of file diff --git a/vpn.sh b/vpn.sh new file mode 100644 index 0000000..ed15bbd --- /dev/null +++ b/vpn.sh @@ -0,0 +1 @@ +for i in $(ls *.conf); do nmcli connection import type wireguard file $i; done \ No newline at end of file