summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ar/.config/firefox/thesiah.js63
-rw-r--r--ar/.config/firefox/vimium-options.json2
-rw-r--r--ar/.config/shell/profile2
3 files changed, 11 insertions, 56 deletions
diff --git a/ar/.config/firefox/thesiah.js b/ar/.config/firefox/thesiah.js
index 52412d4..f218c9a 100644
--- a/ar/.config/firefox/thesiah.js
+++ b/ar/.config/firefox/thesiah.js
@@ -1,62 +1,19 @@
// These are changes made on top of the Arkenfox JS file to tweak it as
// desired. Any of these settings can be overridden by the user.
-/* 0102: set startup page [SETUP-CHROME]
- * 0=blank, 1=home, 2=last visited page, 3=resume previous session
- * [NOTE] Session Restore is cleared with history (2811), and not used in Private Browsing mode
- * [SETTING] General>Startup>Restore previous session ***/
-user_pref("browser.startup.page", 1);
-/* 0103: set HOME+NEWWINDOW page
- * about:home=Firefox Home (default, see 0105), custom URL, about:blank
- * [SETTING] Home>New Windows and Tabs>Homepage and new windows ***/
+// Startup
+user_pref("browser.startup.page", 1); // 0=blank, 1=home, 2=last visited page, 3=resume previous session
user_pref("browser.startup.homepage", "https://www.searx.thesiah.xyz");
-/* 1244: enable HTTPS-Only mode in all windows
- * When the top-level is HTTPS, insecure subresources are also upgraded (silent fail)
- * [SETTING] to add site exceptions: Padlock>HTTPS-Only mode>On (after "Continue to HTTP Site")
- * [SETTING] Privacy & Security>HTTPS-Only Mode (and manage exceptions)
- * [TEST] http://example.com [upgrade]
- * [TEST] http://httpforever.com/ | http://http.rip [no upgrade] ***/
+// HTTPS
user_pref("dom.security.https_only_mode", false); // [FF76+] Allow access to http (i.e. not https) sites:
-/** SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+ | v2 migration is FF128+ ***/
-/* 2815: set "Cookies" and "Site Data" to clear on shutdown (if 2810 is true) [SETUP-CHROME]
- * [NOTE] Exceptions: A "cookie" permission also controls "offlineApps" (see note below). For cross-domain logins,
- * add exceptions for both sites e.g. https://www.youtube.com (site) + https://accounts.google.com (single sign on)
- * [NOTE] "offlineApps": Offline Website Data: localStorage, service worker cache, QuotaManager (IndexedDB, asm-cache)
- * [NOTE] "sessions": Active Logins (has no site exceptions): refers to HTTP Basic Authentication [1], not logins via cookies
- * [WARNING] Be selective with what sites you "Allow", as they also disable partitioning (1767271)
- * [SETTING] to add site exceptions: Ctrl+I>Permissions>Cookies>Allow (when on the website in question)
- * [SETTING] to manage site exceptions: Options>Privacy & Security>Permissions>Settings
- * [1] https://en.wikipedia.org/wiki/Basic_access_authentication ***/
-user_pref("privacy.clearOnShutdown.cookies", false); // Cookies
-user_pref("privacy.clearOnShutdown.offlineApps", false); // Site Data
-user_pref("privacy.clearOnShutdown.sessions", false); // Active Logins [DEFAULT: true]
-user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", false); // Cookies, Site Data, Active Logins [FF128+]
-/* 5010: disable location bar suggestion types
- * [SETTING] Search>Address Bar>When using the address bar, suggest ***/
-user_pref("browser.urlbar.suggest.history", false);
-user_pref("browser.urlbar.suggest.topsites", false); // [FF78+]
-/* 5012: disable location bar autofill
- * [1] https://support.mozilla.org/kb/address-bar-autocomplete-firefox#w_url-autocomplete ***/
-user_pref("browser.urlbar.autoFill", false);
-/* 5021: disable location bar using search
- * Don't leak URL typos to a search engine, give an error message instead
- * Examples: "secretplace,com", "secretplace/com", "secretplace com", "secret place.com"
- * [NOTE] This does not affect explicit user action such as using search buttons in the
- * dropdown, or using keyword search shortcuts you configure in options (e.g. "d" for DuckDuckGo) ***/
+user_pref("network.http.referer.XOriginPolicy", 0); // 0=always (default), 1=only if base domains match, 2=only if hosts match. This could otherwise cause some issues on bank logins and other annoying sites:
+// URL
user_pref("keyword.enabled", true); // Enable the addition of search keywords:
-/* 5510: control when to send a cross-origin referer
- * 0=always (default), 1=only if base domains match, 2=only if hosts match
- * [NOTE] Will cause breakage: older modems/routers and some sites e.g banks, vimeo, icloud, instagram ***/
-user_pref("network.http.referer.XOriginPolicy", 0); // This could otherwise cause some issues on bank logins and other annoying sites:
-// 7018: disable service worker Web Notifications [FF44+]
-user_pref("dom.webnotifications.serviceworker.enabled", false);
-/* 7019: disable Push Notifications [FF44+]
- * [WHY] Website "push" requires subscription, and the API is required for CRLite (1224)
- * [NOTE] To remove all subscriptions, reset "dom.push.userAgentID"
- * [1] https://support.mozilla.org/kb/push-notifications-firefox ***/
+// Notification
user_pref("dom.push.enabled", false);
-
-// Bookmarks visibility
+// Form
+user_pref("browser.formfill.enable", true);
+// Bookmarks
user_pref("browser.toolbars.bookmarks.visibility", "newtab");
user_pref("browser.uidensity", 1);
// Disable the pocket antifeature:
@@ -67,8 +24,6 @@ user_pref("full-screen-api.warning.timeout", false);
user_pref("identity.fxaccounts.enabled", false);
// Keep cookies until expiration or user deletion:
user_pref("network.cookie.lifetimePolicy", 0);
-// Prefil forms:
-user_pref("signon.prefillForms", false);
// Enable custom userChrome.js:
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
// Fix the issue where right mouse button instantly clicks
diff --git a/ar/.config/firefox/vimium-options.json b/ar/.config/firefox/vimium-options.json
index 2850187..64f7280 100644
--- a/ar/.config/firefox/vimium-options.json
+++ b/ar/.config/firefox/vimium-options.json
@@ -8,7 +8,7 @@
"ignoreKeyboardLayout": true,
"scrollStepSize": 40,
"grabBackFocus": true,
- "searchEngines": "# Wiki\nw: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia Search\n\n# Google\ng: https://www.google.com/search?q=%s Google Search\n\n# Google Map\ngm: https://www.google.com/maps?q=%s Google Maps\n\n# Google Image\ngi: https://www.google.com/search?tbm=isch&q=%s Google Images\n\n# Google Drive\ngd: https://drive.google.com/drive/search?q=%s Google Drive\n\n# Brave\nb: https://search.brave.com/search?q=%s Brave Search\n\n# Github\ngh: https://github.com/search?q=%s&ref=opensearch Github Search\n\n# Github Gist\ngg: https://gist.github.com/search?q=%s&ref=opensearch Github Gist\n\n# Github Issues\nghi: https://github.com/issues?utf8=✓&q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22++%s Github Issues\n\n# Youtube\ny: https://www.youtube.com/results?search_query=%s Youtube Search\n\n# Youtube Music\nm: https://music.youtube.com/search?q=%s Youtube Music\n\n# Discord\nd: http://www.discogs.com/search?q=%s&type=all Discord Search\n\n# Amazon\na: https://www.amazon.com/s/?field-keywords=%s Amazon Search\n\n# Ebay\ne: http://www.ebay.com/sch/i.html?_from=R40&_trksid=p5197.m570.l1313&_nkw=%s&_sacat=See-All-Categories Ebay Search\n\n# Home\nhome: https://www.google.com/maps/dir/home/%s Google Home\n\n# Current Site in Google\nsite: javascript:location='https://www.google.com/search?num=100&q=site:'+escape(location.hostname)+'+%s' Google Location\n\n# Stack Overflow\nso: https://stackoverflow.com/search?q=%s StackOverflow Search\n\n# Google Translation\ngt: https://translate.google.com/?hl=ko&sl=auto&tl=ko&text=%s%0A&op=translate Google Translate\n\n# Arch\nap: https://archlinux.org/packages/%s Arch Pacakge\naw: https://wiki.archlinux.org/index.php?search=%s Arch Wiki\naur: https://aur.archlinux.org/packages?O=0&K=%s Aur\n\n# Parcels\nt: https://parcelsapp.com/en/tracking/%s Tracking Parcels\n\n# Naver\nn: https://search.naver.com/search.naver?where=nexearch&sm=top_hty&fbm=0&ie=utf8&query=%s Naver Search\n\n# Coupang\nc: https://www.coupang.com/np/search?component=&q=%s Coupang Search",
+ "searchEngines": "# Wiki\nw: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia Search\n\n# Google\ng: https://www.google.com/search?q=%s Google Search\n\n# Google Map\ngm: https://www.google.com/maps?q=%s Google Maps\n\n# Google Image\ngi: https://www.google.com/search?tbm=isch&q=%s Google Images\n\n# Google Drive\ngd: https://drive.google.com/drive/search?q=%s Google Drive\n\n# Brave\nb: https://search.brave.com/search?q=%s Brave Search\n\n# Github\ngh: https://github.com/search?q=%s&ref=opensearch Github Search\n\n# Github Gist\ngg: https://gist.github.com/search?q=%s&ref=opensearch Github Gist\n\n# Github Issues\nghi: https://github.com/issues?utf8=✓&q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22++%s Github Issues\n\n# Youtube\ny: https://www.youtube.com/results?search_query=%s Youtube Search\n\n# Youtube Music\nm: https://music.youtube.com/search?q=%s Youtube Music\n\n# Discord\nd: http://www.discogs.com/search?q=%s&type=all Discord Search\n\n# Amazon\na: https://www.amazon.com/s/?field-keywords=%s Amazon Search\n\n# Ebay\ne: http://www.ebay.com/sch/i.html?_from=R40&_trksid=p5197.m570.l1313&_nkw=%s&_sacat=See-All-Categories Ebay Search\n\n# Home\nhome: https://www.google.com/maps/dir/home/%s Google Home\n\n# Current Site in Google\nsite: javascript:location='https://www.google.com/search?num=100&q=site:'+escape(location.hostname)+'+%s' Google Location\n\n# Stack Overflow\nso: https://stackoverflow.com/search?q=%s StackOverflow Search\n\n# Google Translation\ngt: https://translate.google.com/?hl=ko&sl=auto&tl=ko&text=%s%0A&op=translate Google Translate\n\n# Arch\nap: https://archlinux.org/packages/%s Arch Pacakge\naw: https://wiki.archlinux.org/index.php?search=%s Arch Wiki\naur: https://aur.archlinux.org/packages?O=0&K=%s Aur\n\n# Parcels\nt: https://parcelsapp.com/en/tracking/%s Tracking Parcels\n\n# Naver\nn: https://search.naver.com/search.naver?where=nexearch&sm=top_hty&fbm=0&ie=utf8&query=%s Naver Search\n\n# Coupang\nc: https://www.coupang.com/np/search?component=&q=%s Coupang Search\n\n# Searx\ns: https://www.searx.thesiah.xyz/search?q=%s SearXNG",
"settingsVersion": "2.2.1",
"userDefinedLinkHintCss": "/* Mocha palette */\n\n:root {\n --rosewater: #f5e0dc;\n --peach: #fab387;\n --green: #a6e3a1;\n --blue: #89b4fa;\n --lavender: #b4befe;\n --text: #cdd6f4;\n --surface2: #585b70;\n --surface0: #313244;\n --base: #1e1e2e;\n --mantle: #181825;\n}\n#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {\n padding: 3px 4px;\n background: var(--peach);\n border: 1;\n border-color: var(--mantle);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\n#vimiumHintMarkerContainer div span {\n color: var(--mantle);\n text-shadow: none;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter {\n opacity: 1.0;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter ~ span {\n color: var(--surface2);\n}\n\n#vomnibar {\n background: var(--base);\n border: 2px solid var(--lavender);\n animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards;\n max-height: calc(100vh - 70px);\n overflow: hidden;\n}\n\n@keyframes show {\n 0% {\n transform: translateY(50px);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}\n\n#vomnibar input {\n color: var(--text);\n background: var(--base);\n border: none;\n height: unset;\n padding: 16px 30px;\n}\n\n#vomnibar .vomnibarSearchArea {\n border: none;\n padding: unset;\n background: var(--base)\n}\n\n#vomnibar ul {\n padding: 0;\n margin: 0;\n background: var(--base);\n border-top: 1px solid var(--surface0);\n}\n\n#vomnibar li {\n padding: 10px;\n border-bottom: 1px solid var(--surface0)\n}\n\n#vomnibar li .vomnibarTopHalf,\n#vomnibar li .vomnibarBottomHalf {\n padding: 3px 0;\n}\n\n#vomnibar li .vomnibarSource {\n color: var(--peach);\n}\n\n#vomnibar li em,\n#vomnibar li .vomnibarTitle {\n color: var(--blue);\n font-weight: bold;\n}\n\n#vomnibar li .vomnibarUrl {\n color: var(--rosewater);\n}\n\n#vomnibar li .vomnibarMatch {\n color: var(--green);\n font-weight: bold;\n}\n\n#vomnibar li .vomnibarTitle .vomnibarMatch {\n color: var(--blue);\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: var(--surface0);\n}\n\ndiv.vimiumHUD {\n background: var(--base);\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\ndiv.vimiumHUD span#hud-find-input,\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: var(--text)\n}\n\ndiv.vimiumHUD .hud-find {\n background-color: var(--base);\n border: none;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background-color: var(--base);\n}",
"exclusionRules": [
diff --git a/ar/.config/shell/profile b/ar/.config/shell/profile
index c087112..4a2ecab 100644
--- a/ar/.config/shell/profile
+++ b/ar/.config/shell/profile
@@ -15,7 +15,7 @@ unsetopt PROMPT_SP 2>/dev/null
###################################################
### --- DEFAULT PROGRAMS --- ###
###################################################
-export BROWSER=$(command -v firefox || command -v qutebrowser || command -v librewolf)
+export BROWSER=$(command -v librewolf || command -v firefox || command -v qutebrowser)
export EDITOR="nvim"
export EDITOR2="vim"
export KEYTIMEOUT=10