summaryrefslogtreecommitdiffstats
path: root/qutebrowser
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-04-16 17:22:56 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-04-16 17:22:56 +0100
commitbe04be63ce7202d86931fddee3aaddc94ef2f5ee (patch)
tree9dfff09d600260a33ed72806ef0778f603df478a /qutebrowser
parent5d0ac192722f798dc3fa884cdb74296e4d4e3654 (diff)
the big apr 22 update
Diffstat (limited to '')
-rw-r--r--qutebrowser/bookmarks/urls3
-rw-r--r--qutebrowser/config.py41
-rw-r--r--qutebrowser/quickmarks13
3 files changed, 21 insertions, 36 deletions
diff --git a/qutebrowser/bookmarks/urls b/qutebrowser/bookmarks/urls
index 966103f..a545f70 100644
--- a/qutebrowser/bookmarks/urls
+++ b/qutebrowser/bookmarks/urls
@@ -1,5 +1,7 @@
+https://b2b.enterprise.co.uk/Pages/CreateReservation.aspx Create Reservation
https://regex101.com/ Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript
https://github.com/insanum/gcalcli/pull/402#discussion_r249528101 Better user interaction during prompts when adding an event by hammerheadlemon · Pull Request #402 · insanum/gcalcli
+https://ronver.xyz/apps/files/?dir=/&fileid=10344 Files - Nextcloud
https://getoutline.org/en/home Outline VPN - Making it safer to break the news
https://wiki.lineageos.org/adb_fastboot_guide.html Using ADB and fastboot | LineageOS Wiki
https://wiki.lineageos.org/devices/bacon/install Install LineageOS on bacon | LineageOS Wiki
@@ -21,4 +23,3 @@ https://www.britishgas.co.uk/my-account/premises/001A4BF58A241ED1A0B0FB818A255E0
https://wiki.lineageos.org/upgrading.html Upgrading LineageOS | LineageOS Wiki
http://www.qutebrowser.org/doc/help/commands.html | qutebrowser
http://wellclosemedicalgroup.co.uk/ Well Close Medical Group
-https://trello.com/c/ov4CrxWa/1066-bean-and-halloumi-stew Bean and Halloumi Stew on 🍴Food and Meal Planning | Trello
diff --git a/qutebrowser/config.py b/qutebrowser/config.py
index 4684b14..a43eb02 100644
--- a/qutebrowser/config.py
+++ b/qutebrowser/config.py
@@ -10,11 +10,9 @@
## Aliases for commands. The keys of the given dictionary are the
## aliases, while the values are the commands they map to.
## Type: Dict
-##c.aliases = {"ncbookmark": "open -t https://ronver.xyz/index.php/apps/bookmarks/bookmarklet?output=popup&url="}
-c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'}
+# c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'}
#c.aliases.update({"ncbookmark": "jseval javascript:(function(){var a=window,b=document,c=encodeURIComponent,e=c(document.title),d=a.open('https://ronver.xyz/index.php/apps/bookmarks/bookmarklet?output=popup&url=');});" })
#c.aliases.update({"ncbookmark": "jseval javascript:(function(){var a=window,b=document,c=encodeURIComponent,e=c(document.title),d=a.open('https://ronver.xyz/index.php/apps/bookmarks/bookmarklet?output=popup&url='+c(b.location)+'&title='+e,'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=500px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300);});" })
-#c.aliases.update({"pboard": "jseval javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('http://pinboard.in/add?url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard', 'toolbar=no,width=700,height=350'));"})
## Time interval (in milliseconds) between auto-saves of
## config/cookies/etc.
## Type: Int
@@ -24,31 +22,6 @@ c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'}
## Type: Bool
c.auto_save.session = True
-# Remove images and javascript from sites
-#c.content.images = False
-config.set('content.images', False, '*://www.bbc.co.uk/*')
-#config.set('content.javascript.enabled', False, '*://www.bbc.co.uk/*')
-#
-#config.set('content.images', False, '*://www.telegraph.co.uk/*')
-#config.set('content.javascript.enabled', False, '*://www.telegraph.co.uk/*')
-config.set('content.javascript.enabled', True, '*://office.com/*')
-config.set('content.javascript.enabled', True, '*://microsoft.com/*')
-config.set('content.javascript.enabled', True, '*://google.co.uk/*')
-config.set('content.javascript.enabled', True, '*://google.com/*')
-config.set('content.javascript.enabled', True, '*://todoist.com/*')
-config.set('content.javascript.enabled', True, '*://*.calendar.google.com/*')
-config.set('content.javascript.enabled', True, '*://*.mail.protonmail.com/*')
-config.set('content.javascript.enabled', True, '*://*.todoist.com/*')
-config.set('content.javascript.enabled', True, '*://*.vault.bitwarden.com/*')
-config.set('content.javascript.enabled', True, '*://*.www.google.com/*')
-config.set('content.javascript.enabled', True, '*://device.login.microsoftonline.com/*')
-config.set('content.javascript.enabled', True, '*://login.microsoftonline.com/*')
-config.set('content.javascript.enabled', True, '*://www.office.com/*')
-config.set('content.javascript.enabled', True, '*://www.youtube.com/*')
-
-c.content.javascript.enabled = True
-
-
## Backend to use to display websites. qutebrowser supports two different
## web rendering engines / backends, QtWebKit and QtWebEngine. QtWebKit
## was discontinued by the Qt project with Qt 5.6, but picked up as a
@@ -72,6 +45,8 @@ c.content.javascript.enabled = True
## Type: Dict
# c.bindings.key_mappings = {'<Ctrl-[>': '<Escape>', '<Ctrl-6>': '<Ctrl-^>', '<Ctrl-M>': '<Return>', '<Ctrl-J>': '<Return>', '<Shift-Return>': '<Return>', '<Enter>': '<Return>', '<Shift-Enter>': '<Return>', '<Ctrl-Enter>': '<Ctrl-Return>'}
+config.bind('<z><p><l>', 'spawn --userscript qute-pass --password-only')
+
## Background color of the completion widget category headers.
## Type: QssColor
# c.colors.completion.category.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #888888, stop:1 #505050)'
@@ -521,7 +496,7 @@ c.content.javascript.enabled = True
## - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
## - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
## - never: Don't accept cookies at all.
-c.content.cookies.accept = 'no-unknown-3rdparty'
+# c.content.cookies.accept = 'all'
## Store cookies. Note this option needs a restart with QtWebEngine on Qt
## < 5.9.
@@ -1140,7 +1115,7 @@ c.content.cookies.accept = 'no-unknown-3rdparty'
## as it can cause issues with some bitmap fonts. As an alternative to
## this, it's possible to set font sizes and the `zoom.default` setting.
## Type: Bool
-# c.qt.highdpi = False
+c.qt.highdpi = True
## When to use Chromium's low-end device mode. This improves the RAM
## usage of renderer processes, at the expense of performance.
@@ -1462,7 +1437,7 @@ c.tabs.close_mouse_button = 'middle'
## Page to open if :open -t/-b/-w is used without URL. Use `about:blank`
## for a blank page.
## Type: FuzzyUrl
-# c.url.default_page = 'https://start.duckduckgo.com/'
+c.url.default_page = 'https://start.duckduckgo.com/'
## URL segments where `:navigate increment/decrement` will search for a
## number.
@@ -1489,10 +1464,9 @@ c.tabs.close_mouse_button = 'middle'
## used by prepending the search engine name to the search term, e.g.
## `:open google qutebrowser`.
## Type: Dict
-#c.url.searchengines = {'DEFAULT': 'https://www.google.co.uk/?q={}'}
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'}
c.url.searchengines.update({'ddg': 'https://duckduckgo.com/?q={}'})
-c.url.searchengines.update({'g': 'https://www.google.co.uk/?q={}'})
+c.url.searchengines.update({'g': 'https://www.google.co.uk/#q={}'})
c.url.searchengines.update({'deb': 'https://packages.debian.org/search?keywords={}'})
c.url.searchengines.update({'t': 'https://twitter.com/search?q={}'})
c.url.searchengines.update({'yt': 'https://www.youtube.com/results?search_query={}'})
@@ -1600,7 +1574,6 @@ config.bind(';M', 'hint links spawn mpv {hint-url}')
# config.bind('@', 'run-macro')
# config.bind('B', 'set-cmd-text -s :quickmark-load -t')
config.bind('D', 'nop')
-config.bind(';P', 'spawn --userscript pinboard.sh')
# config.bind('F', 'hint all tab')
# config.bind('G', 'scroll-to-perc')
# config.bind('H', 'back')
diff --git a/qutebrowser/quickmarks b/qutebrowser/quickmarks
index 084237b..153a1ff 100644
--- a/qutebrowser/quickmarks
+++ b/qutebrowser/quickmarks
@@ -1,3 +1,14 @@
+YNAB https://app.youneedabudget.com/users/login
+Installing LineageOS https://wiki.lineageos.org/devices/bacon/install
+Safari Books https://learning.oreilly.com/home/
+gcalcli https://github.com/insanum/gcalcli
+Github Help https://help.github.com/
+Clarity Travel https://ctmcrown.sabscorp.com/js/SABS/Corporate.html
Amazon https://www.amazon.co.uk/
+NatWest Cards Online https://cardsonline-commercial.com/RBSG_Commercial/Login.do?promoCode=NatWest
QT Forum https://forum.qt.io/
-Github https://github.com/yulqen
+A Book about QT https://qmlbook.github.io/
+Fastmail https://www.fastmail.com/login/?
+Live Sport https://www.vipbox.live/
+Classy Class-Based Views https://ccbv.co.uk/
+privsep https://man.openbsd.org/bsd.port.mk#PORTS_PRIVSEP