From 8bef913c967774fd049187cd05e55ba91a7a3fa6 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 13 Sep 2024 01:24:34 -0400 Subject: [PATCH] update --- configs/libredirect-settings-v2.9.0.json | 437 +++++++++++++++++++++++ run.sh | 31 +- vpn.sh | 1 + 3 files changed, 468 insertions(+), 1 deletion(-) create mode 100644 configs/libredirect-settings-v2.9.0.json create mode 100644 vpn.sh diff --git a/configs/libredirect-settings-v2.9.0.json b/configs/libredirect-settings-v2.9.0.json new file mode 100644 index 0000000..86daca1 --- /dev/null +++ b/configs/libredirect-settings-v2.9.0.json @@ -0,0 +1,437 @@ +{ + "youtube": { + "enabled": false, + "redirectType": "main_frame", + "frontend": "poketube", + "embedFrontend": "invidious", + "unsupportedUrls": "bypass" + }, + "invidious": [ + "https://inv.vern.cc" + ], + "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": false, + "frontend": "hyperpipe", + "unsupportedUrls": "bypass" + }, + "hyperpipe": [ + "https://hyperpipe.surge.sh" + ], + "invidiousMusic": [], + "twitter": { + "enabled": false, + "redirectType": "main_frame", + "unsupportedUrls": "bypass", + "frontend": "nitter", + "instance": "public" + }, + "nitter": [ + "https://nitter.privacydev.net" + ], + "bluesky": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "skyview" + }, + "skyview": [ + "https://skyview.social" + ], + "reddit": { + "enabled": true, + "frontend": "redlib", + "unsupportedUrls": "bypass", + "instance": "public", + "redirectType": "main_frame" + }, + "libreddit": [ + "https://libreddit.spike.codes" + ], + "redlib": [ + "https://lr.sudovanilla.org" + ], + "teddit": [ + "https://teddit.net" + ], + "tumblr": { + "enabled": false, + "redirectType": "main_frame", + "unsupportedUrls": "bypass", + "frontend": "priviblur", + "instance": "public" + }, + "priviblur": [ + "https://pb.bloat.cat" + ], + "twitch": { + "enabled": true, + "redirectType": "main_frame", + "unsupportedUrls": "bypass", + "frontend": "safetwitch", + "instance": "public" + }, + "safetwitch": [ + "https://twitch.sudovanilla.org" + ], + "twineo": [ + "https://twineo.exozy.me" + ], + "tiktok": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "proxiTok", + "instance": "public" + }, + "proxiTok": [ + "https://proxitok.pabloferreiro.es" + ], + "instagram": { + "enabled": true, + "frontend": "proxigram", + "unsupportedUrls": "bypass", + "instance": "public", + "redirectType": "main_frame" + }, + "proxigram": [ + "https://ig.opnxng.com" + ], + "imdb": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "libremdb", + "instance": "public" + }, + "libremdb": [ + "https://libremdb.iket.me" + ], + "bilibili": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "mikuInvidious" + }, + "mikuInvidious": [ + "https://mikuinv.resrv.org" + ], + "pixiv": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "pixivFe" + }, + "pixivFe": [ + "https://pixivfe.exozy.me" + ], + "fandom": { + "enabled": false, + "unsupportedUrls": "bypass", + "instance": "public", + "frontend": "breezeWiki" + }, + "breezeWiki": [ + "https://breezewiki.com" + ], + "imgur": { + "enabled": true, + "redirectType": "main_frame", + "unsupportedUrls": "bypass", + "frontend": "rimgo", + "instance": "public" + }, + "rimgo": [ + "https://i.sudovanilla.org" + ], + "pinterest": { + "enabled": false, + "unsupportedUrls": "bypass", + "redirectType": "main_frame", + "frontend": "binternet" + }, + "binternet": [ + "https://bn.bloat.cat" + ], + "soundcloud": { + "enabled": false, + "redirectType": "main_frame", + "frontend": "tuboSoundcloud", + "unsupportedUrls": "bypass" + }, + "tuboSoundcloud": [ + "https://tubo.migalmoreno.com" + ], + "bandcamp": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "tent" + }, + "tent": [ + "https://tent.sny.sh" + ], + "tekstowo": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "tekstoLibre" + }, + "tekstoLibre": [ + "https://davilarek.github.io/TekstoLibre" + ], + "genius": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "dumb", + "instance": "public" + }, + "dumb": [ + "https://dm.vern.cc" + ], + "intellectual": [ + "https://intellectual.insprill.net" + ], + "medium": { + "frontend": "scribe", + "enabled": true, + "unsupportedUrls": "bypass", + "redirectType": "main_frame" + }, + "scribe": [ + "https://r.sudovanilla.org" + ], + "libMedium": [ + "https://md.vern.cc" + ], + "quora": { + "enabled": true, + "unsupportedUrls": "bypass", + "frontend": "quetre", + "instance": "public", + "redirectType": "main_frame" + }, + "quetre": [ + "https://ask.sudovanilla.org" + ], + "github": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "gothub" + }, + "gothub": [ + "https://gh.odyssey346.dev" + ], + "gitlab": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "laboratory" + }, + "laboratory": [ + "https://lab.vern.cc" + ], + "stackOverflow": { + "enabled": true, + "unsupportedUrls": "bypass", + "frontend": "anonymousOverflow", + "instance": "public", + "redirectType": "main_frame" + }, + "anonymousOverflow": [ + "https://o.sudovanilla.org" + ], + "reuters": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "neuters" + }, + "neuters": [ + "https://neuters.de" + ], + "snopes": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "suds" + }, + "suds": [ + "https://sd.vern.cc" + ], + "ifunny": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "unfunny" + }, + "unfunny": [ + "https://uf.vern.cc" + ], + "tenor": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "soprano" + }, + "soprano": [ + "https://sp.vern.cc" + ], + "knowyourmeme": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "meme" + }, + "meme": [ + "https://mm.vern.cc" + ], + "urbanDictionary": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "ruralDictionary" + }, + "ruralDictionary": [ + "https://rd.vern.cc" + ], + "goodreads": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "biblioReads", + "instance": "public" + }, + "biblioReads": [ + "https://biblioreads.ml" + ], + "wolframAlpha": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "wolfreeAlpha" + }, + "wolfreeAlpha": [ + "https://gqq.gitlab.io", + "https://uqq.gitlab.io" + ], + "instructables": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "indestructables" + }, + "indestructables": [ + "https://indestructables.private.coffee" + ], + "destructables": [ + "https://ds.vern.cc" + ], + "wikipedia": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "wikiless" + }, + "wikiless": [ + "https://wikiless.org" + ], + "waybackMachine": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "waybackClassic" + }, + "waybackClassic": [ + "https://wayback-classic.net" + ], + "search": { + "enabled": true, + "frontend": "4get", + "unsupportedUrls": "bypass", + "instance": "public", + "redirectType": "main_frame" + }, + "searxng": [ + "https://search.bus-hit.me" + ], + "searx": [], + "whoogle": [], + "librey": [], + "4get": [ + "https://4get.sudovanilla.org" + ], + "translate": { + "enabled": false, + "frontend": "simplyTranslate", + "unsupportedUrls": "bypass", + "instance": "public" + }, + "simplyTranslate": [ + "https://simplytranslate.org" + ], + "mozhi": [ + "https://mozhi.aryak.me" + ], + "libreTranslate": [], + "maps": { + "redirectType": "main_frame", + "enabled": false, + "frontend": "osm", + "unsupportedUrls": "bypass" + }, + "osm": [ + "https://www.openstreetmap.org" + ], + "meet": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "jitsi" + }, + "jitsi": [], + "sendFiles": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "send" + }, + "send": [], + "textStorage": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "privateBin" + }, + "privateBin": [], + "pasted": [ + "https://pasted.drakeerv.com" + ], + "ultimateGuitar": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "freetar" + }, + "freetar": [ + "https://freetar.de" + ], + "exceptions": { + "url": [], + "regex": [] + }, + "theme": "dark", + "popupServices": [ + "youtube", + "tiktok", + "imgur", + "reddit", + "quora", + "translate", + "maps" + ], + "fetchInstances": "codeberg", + "redirectOnlyInIncognito": false, + "version": "2.9.0" +} \ No newline at end of file diff --git a/run.sh b/run.sh index 0d928d7..b835a3f 100644 --- a/run.sh +++ b/run.sh @@ -4,6 +4,7 @@ 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 @@ -84,6 +85,24 @@ 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 +gnome-extensions enable gsconnect@andyholmes.github.io +gnome-extensions enable rounded-window-corners@fxgn + +clear +echo "Restarting GNOME is required, please restart the session soon." +sleep 5 + +# Apply GNOME Settings +clear +echo "Changing settings for GNOME..." +gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" +gsettings set org.gnome.desktop.peripherals.mouse accel-profile 'flat' +gsettings set org.gnome.desktop.privacy recent-files-max-age 7 +gsettings set org.gnome.desktop.privacy old-files-age 7 +gsettings set org.gnome.desktop.privacy remove-old-temp-files true +gsettings set org.gnome.desktop.privacy remove-old-trash-files true +gsettings set org.gnome.desktop.interface enable-hot-corners false + # Ending-Run clear echo "Finishing up..." @@ -96,4 +115,14 @@ echo "Completed." sleep 2 echo "Don't forget to setup Git:" echo 'git config --global user.name "USERNAME"' -echo 'git config --global user.email "email@example.org"' \ No newline at end of file +echo 'git config --global user.email "email@example.org"' +echo "" +echo "Some settings need to be modified in Librewolf 'about:config'. Enable the following:" +echo "gnomeTheme.hideSingleTab" +echo "gnomeTheme.bookmarksToolbarUnderTabs" +echo "gnomeTheme.closeOnlySelectedTabs" +echo "gnomeTheme.systemIcons" +echo "gnomeTheme.hideWebrtcIndicator" +echo "" +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/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