From 3855c5fcf6e8333491dcccea4769922a7ec5a3be Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 7 Feb 2021 14:21:32 +0100 Subject: Added qutebrowser loading autoconfig, mpv not playing 4k video, J/K binded to tab-prev/tab-next, Updated .xinitrc for faster repeat key --- qutebrowser/config.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'qutebrowser/config.py') diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 61d5ae8..e528fb3 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -1,5 +1,7 @@ from qutebrowser.api import interceptor +config.load_autoconfig(True) + # Youtube ad blocking def filter_yt(info: interceptor.Request): url = info.request_url @@ -42,16 +44,20 @@ c.editor.command = [ c.messages.timeout = 4000 -config.bind(';v', 'hint links spawn /usr/bin/mpv {hint-url} ;;' +config.bind(';v', 'hint links spawn /usr/bin/mpv --ytdl-format=best {hint-url} ;;' 'message-info "opening in video player"') config.bind('', 'completion-item-focus next', 'command') config.bind('', 'completion-item-focus prev', 'command') +config.bind('J', 'tab-prev', 'normal') +config.bind('K', 'tab-next', 'normal') + c.colors.webpage.darkmode.enabled = True # Convert light themed sites to dark theme (very nice result) c.colors.webpage.bg = 'black' # Disabling white flash before page loading # c.content.proxy = 'socks://localhost:9050/' # tor +c.content.autoplay = False # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova -- cgit From c7dd71eae646118780e29df79265823fc2c4f458 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 9 Feb 2021 11:38:14 +0100 Subject: Enabling qutebrowser session, Added zathurarc copy to clipboard instead of primary selection --- qutebrowser/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qutebrowser/config.py') diff --git a/qutebrowser/config.py b/qutebrowser/config.py index e528fb3..b4ca99e 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -59,6 +59,9 @@ c.colors.webpage.bg = 'black' # Disabling white flash before page lo # c.content.proxy = 'socks://localhost:9050/' # tor c.content.autoplay = False +c.auto_save.session = True +c.session.lazy_restore = True + # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova # Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) -- cgit From 2a69d39260bdcc13473df84b5affe2732cc9eb85 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 12 Feb 2021 11:48:29 +0100 Subject: Switch theme to dracula, Updated qutebrowser never accept notifications --- qutebrowser/config.py | 1 + 1 file changed, 1 insertion(+) (limited to 'qutebrowser/config.py') diff --git a/qutebrowser/config.py b/qutebrowser/config.py index b4ca99e..0c33c53 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -58,6 +58,7 @@ c.colors.webpage.bg = 'black' # Disabling white flash before page lo # c.content.proxy = 'socks://localhost:9050/' # tor c.content.autoplay = False +c.content.notifications = False c.auto_save.session = True c.session.lazy_restore = True -- cgit From a7a34386e6954f104a789e9417dc8d8841f6cdea Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 12 Feb 2021 21:52:52 +0100 Subject: Added qutebrowser F12 shortcut for devtools toggle, Added cplusplus.com search engine --- qutebrowser/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qutebrowser/config.py') diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 0c33c53..bad4e0d 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -28,6 +28,7 @@ c.url.searchengines = { 'y': 'https://www.youtube.com/results?search_query={}', 'gh': 'https://github.com/search?q={}', 'h': 'https://hoogle.haskell.org/?hoogle={}', + 'cpp': 'http://cplusplus.com/search.do?q={}', } c.fonts.default_family = 'Fira Mono' @@ -53,6 +54,8 @@ config.bind('', 'completion-item-focus prev', 'command') config.bind('J', 'tab-prev', 'normal') config.bind('K', 'tab-next', 'normal') +config.bind('', 'devtools', 'normal') + c.colors.webpage.darkmode.enabled = True # Convert light themed sites to dark theme (very nice result) c.colors.webpage.bg = 'black' # Disabling white flash before page loading -- cgit From 22fb4594ec830f0072e9f0b45bac3a5f19897987 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 20 Feb 2021 23:46:53 +0100 Subject: Switching back to solarized (weird bug when openning file with autocmd, takes 2/3 seconds), Added qutebrowser larouse search engine and blocking 3rd party cookies --- qutebrowser/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qutebrowser/config.py') diff --git a/qutebrowser/config.py b/qutebrowser/config.py index bad4e0d..827d2eb 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -29,6 +29,7 @@ c.url.searchengines = { 'gh': 'https://github.com/search?q={}', 'h': 'https://hoogle.haskell.org/?hoogle={}', 'cpp': 'http://cplusplus.com/search.do?q={}', + 'lar': 'https://www.larousse.fr/dictionnaires/francais/{}' } c.fonts.default_family = 'Fira Mono' @@ -62,10 +63,12 @@ c.colors.webpage.bg = 'black' # Disabling white flash before page lo # c.content.proxy = 'socks://localhost:9050/' # tor c.content.autoplay = False c.content.notifications = False +c.content.cookies.accept = 'no-3rdparty' c.auto_save.session = True c.session.lazy_restore = True + # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova # Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) -- cgit