summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf>2021-02-18 16:57:04 -0500
committerluxagraf <sng@luxagraf>2021-02-18 16:57:04 -0500
commitedf5ea512762e02604ea5ba43db53ad3d4e07f83 (patch)
tree7f6aac0085da31c0b3ddeb8ebef6e25ff76c10d2
parent84c156d9d90a74a5aa1936a084452750b4e08718 (diff)
qute: added some bookmarks and tweaked config to get rid of jblock
-rw-r--r--.config/qutebrowser/bookmarks/urls4
-rw-r--r--.config/qutebrowser/config.py32
2 files changed, 19 insertions, 17 deletions
diff --git a/.config/qutebrowser/bookmarks/urls b/.config/qutebrowser/bookmarks/urls
index 77a90ad..9200d46 100644
--- a/.config/qutebrowser/bookmarks/urls
+++ b/.config/qutebrowser/bookmarks/urls
@@ -128,7 +128,5 @@ https://reviewmeta.com/ ReviewMeta.com - Amazon Review Checker
https://www.theenergyblueprint.com/causes-of-mitochondrial-dysfunction/ The Most Common Causes of Mitochondrial Dysfunction and 9 Tips to Improve Mitochondrial Health
https://amazingribs.com/tested-recipes/vegetables-and-salads/simple-creamy-southern-coleslaw-recipe The Best Basic Creamy Southern Coleslaw Ever
https://amazingribs.com/tested-recipes/spice-rubs-and-pastes/meatheads-memphis-dust-rub-recipe Meathead's World Famous Memphis Dust Rub
-https://www.postandcourier.com/news/a-22-year-old-youtuber-may-have-solved-anne-bonny-pirate-mystery-300-years-after/article_78fc0a2e-2914-11eb-a5f5-03b65f4d281a.html A 22-year-old YouTuber may have solved Anne Bonny pirate mystery 300 years after trial | News | postandcourier.com
-qute://pdfjs/web/viewer.html?filename=tmpvnpe3rt9_m06_5i.pdf&file=&source=https://www.tax.ny.gov/pdf/memos/income/m06_5i.pdf TSB-M-06(5)I:(5/06):New York Tax Treatment of Nonresidents and Part-Year Residents Application of the Convenience of the Employer Test to Telecommuters and Others:tsbm065i - tmpvnpe3rt9_m06_5i.pdf
-qute://pdfjs/web/viewer.html?filename=tmp4d7l6es9_it2104e_fill_in.pdf&file=&source=https://www.tax.ny.gov/pdf/current_forms/it/it2104e_fill_in.pdf Form IT-2104-E Certificate of Exemption from Withholding Year 2021 - tmp4d7l6es9_it2104e_fill_in.pdf
https://manage.buyvm.net/# Stallion
+https://www.richardphotolab.com/ Premium Film Developing, Scanning and Photo Printing | Richard Photo Lab
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
index 2470922..09965e0 100644
--- a/.config/qutebrowser/config.py
+++ b/.config/qutebrowser/config.py
@@ -25,15 +25,18 @@ c.editor.command = ['foot', 'nvim', '{}']
c.url.default_page = "about:blank"
# searches
-c.url.searchengines['DEFAULT'] = 'https://duckduckgo.com/?q={}'
-c.url.searchengines['s'] = 'https://www.startpage.com/rvd/search?query={}&language=auto'
+c.url.searchengines['DEFAULT'] = 'https://www.startpage.com/rvd/search?query={}&language=auto'
+# tor
+#c.url.searchengines['DEFAULT'] = 'https://3g2upl4pq6kufc4m.onion/?q={}'
+c.url.searchengines['s'] = 'https://duckduckgo.com/?q={}'
c.url.searchengines['g'] = 'http://www.google.com/search?hl=en&source=hp&ie=ISO-8859-l&q={}'
c.url.searchengines['a'] = 'https://wiki.archlinux.org/?search={}'
c.url.searchengines['y'] = 'https://www.youtube.com/results?search_query={}'
c.url.searchengines['ap'] = 'https://www.archlinux.org/packages/?sort=&q={}'
c.url.searchengines['w'] = 'https://www.google.com/search?q={}+site%3Awired.com'
-c.url.searchengines['t'] = 'https://duckduckgo.com/?q={}+site%3Ahttps%3A%2F%2Fwww.elliotoracle.com%2Fblog%2F&t=fpas&ia=web'
-
+c.url.searchengines['t'] = 'https://lite.duckduckgo.com/lite/?q={}%20site%3Ahttps%3A%2F%2Fwww.elliotoracle.com%2Fblog%2F&t=fpas&ia=web'
+#tor
+#c.content.proxy = 'socks://localhost:9050/'
# block JS out of the box:
c.content.javascript.enabled = False
@@ -43,7 +46,6 @@ js_whitelist = [
"*://127.0.0.1/*",
"*://github.com/*",
"*://gitlab.com/*",
- "*://duckduckgo.com/*",
"*://*.youtube.com/*",
"*://*.luxagraf.net/*"
"*://translate.google.com/*",
@@ -82,6 +84,8 @@ config.bind('K', 'tab-next', mode='normal')
# get rid of things I always hit accidentally
config.unbind('<Ctrl+v>')
+# however passthru mode is nice on some sites
+config.bind('<Ctrl+Shift+P>', 'enter-mode passthrough', mode='normal')
config.unbind('<Ctrl+q>')
config.unbind('<Ctrl+h>')
@@ -113,10 +117,10 @@ config.bind(',s', "jseval --quiet if(document.getSelection){s=document.getSelect
import sys, os
-sys.path.append(os.path.join(sys.path[0], "jblock"))
-config.source("jblock/jblock/integrations/qutebrowser.py")
+#sys.path.append(os.path.join(sys.path[0], "jblock"))
+#config.source("jblock/jblock/integrations/qutebrowser.py")
config.set(
- "content.host_blocking.lists",
+ "content.blocking.hosts.lists",
[
"https://easylist.to/easylist/fanboy-annoyance.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt",
@@ -129,12 +133,12 @@ config.set(
],
)
-config.set(
- "content.host_blocking.whitelist",
- [
- "duckduckgo.com",
- ],
-)
+#config.set(
+# "content.blocking.whitelist'",
+# [
+# "duckduckgo.com",
+# ],
+#)
solarized = {
'base03': '#002b36',
'base02': '#073642',