From d319d894da2be96eaca81aeca62c4f53bb528c56 Mon Sep 17 00:00:00 2001 From: Sn4il Date: Fri, 8 Mar 2024 10:19:14 +0300 Subject: light themes --- qutebrowser/autoconfig.yml | 33 ++++++++++++++++++++++++++++++ qutebrowser/catppuccin | 1 + qutebrowser/config.py | 18 +++++++++-------- qutebrowser/qsettings/QtProject.conf | 8 ++++++++ qutebrowser/redirects.py | 39 +----------------------------------- 5 files changed, 53 insertions(+), 46 deletions(-) create mode 100644 qutebrowser/autoconfig.yml create mode 160000 qutebrowser/catppuccin create mode 100644 qutebrowser/qsettings/QtProject.conf (limited to 'qutebrowser') diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml new file mode 100644 index 0000000..233f20a --- /dev/null +++ b/qutebrowser/autoconfig.yml @@ -0,0 +1,33 @@ +# If a config.py file exists, this file is ignored unless it's explicitly loaded +# via config.load_autoconfig(). For more information, see: +# https://github.com/qutebrowser/qutebrowser/blob/main/doc/help/configuring.asciidoc#loading-autoconfigyml +# DO NOT edit this file by hand, qutebrowser will overwrite it. +# Instead, create a config.py - see :help for details. + +config_version: 2 +settings: + auto_save.session: + global: true + colors.webpage.darkmode.enabled: + global: false + colors.webpage.darkmode.policy.images: + global: never + content.geolocation: + https://rutube.ru: true + content.notifications.enabled: + https://fe.disroot.org: false + https://jira.astralinux.ru: true + https://life.ru: false + https://online.hitpaw.com: false + https://quietplace.xyz: true + downloads.remove_finished: + global: 1 + fonts.web.size.minimum: + global: 20 + fonts.web.size.minimum_logical: + global: 14 + url.default_page: + global: https://search.thedroth.rocks + url.searchengines: + global: + DEFAULT: https://search.thedroth.rocks/?q={} diff --git a/qutebrowser/catppuccin b/qutebrowser/catppuccin new file mode 160000 index 0000000..78bb72b --- /dev/null +++ b/qutebrowser/catppuccin @@ -0,0 +1 @@ +Subproject commit 78bb72b4c60b421c8ea64dd7c960add6add92f83 diff --git a/qutebrowser/config.py b/qutebrowser/config.py index c940ce2..c99e113 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -1,13 +1,15 @@ -import dracula.draw +#import dracula.draw + +import catppuccin # Load existing settings made via :set config.load_autoconfig() config.source("redirects.py") +catppuccin.setup(c, 'latte') - -dracula.draw.blood(c, { - 'spacing': { - 'vertical': 6, - 'horizontal': 8 - } -}) +#dracula.draw.blood(c, { +# 'spacing': { +# 'vertical': 6, +# 'horizontal': 8 +# } +#}) diff --git a/qutebrowser/qsettings/QtProject.conf b/qutebrowser/qsettings/QtProject.conf new file mode 100644 index 0000000..302ee3a --- /dev/null +++ b/qutebrowser/qsettings/QtProject.conf @@ -0,0 +1,8 @@ +[FileDialog] +history=file:///home/sn4il/Documents/books/rami, file:///home/sn4il/Music/my/wip, file:///home/sn4il/Pictures, file:///home/sn4il/Downloads, file:///home/sn4il +lastVisited=file:///home/sn4il/Downloads +qtVersion=6.6.1 +shortcuts=file:, file:///home/sn4il +sidebarWidth=92 +treeViewHeader="@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x3\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xf7\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xea\0\0\0\x1\0\0\0\0\0\0\0:\0\0\0\x1\0\0\0\0\0\0\0;\0\0\0\x1\0\0\0\0\0\0\0\x98\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)" +viewMode=Detail diff --git a/qutebrowser/redirects.py b/qutebrowser/redirects.py index ba9aa32..66544aa 100644 --- a/qutebrowser/redirects.py +++ b/qutebrowser/redirects.py @@ -31,44 +31,7 @@ redirects = { "lbry.vern.cc", ], }, - "reddit": { - "source": ["reddit.com"], - "target": [ - "td.vern.cc", - "teddit.adminforge.de", - "teddit.artemislena.eu", - "teddit.bus-hit.me", - "teddit.hostux.net", - "teddit.namazso.eu", - "teddit.net", - "teddit.pussthecat.org", - "teddit.sethforprivacy.com", - "teddit.totaldarkness.net", - "teddit.zaggy.nl", - ], - }, - "twitter": { - "source": ["twitter.com"], - "target": [ - "nitter.net", - "nitter.42l.fr", - "nitter.fdn.fr", - "nitter.1d4.us", - "nitter.kavin.rocks", - "nitter.unixfox.eu", - "nitter.namazso.eu", - "nitter.moomoo.me", - "bird.trom.tf", - "nitter.it", - "twitter.censors.us", - "nitter.grimneko.de", - "twitter.076.ne.jp", - "n.l5.ca", - "unofficialbird.com", - "nitter.ungovernable.men", - ], - }, - "imdb": { + "imdb": { "source": ["imdb.com"], "target": [ "libremdb.iket.me", -- cgit v1.2.3