1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-27 17:14:54 +00:00

Qute: load hacker news as default page

This commit is contained in:
Phantop 2020-09-17 21:31:50 -04:00
parent 7d76b78179
commit b44b840de7
2 changed files with 2 additions and 3 deletions

View file

@ -25,7 +25,7 @@ config.bind('st', 'config-cycle -t content.proxy socks://localhost:9050/ system'
config.bind('sca', 'config-cycle -t content.user_stylesheets "[normalize/normalize.css, adapta.css]" normalize/normalize.css')
# BEGIN MAIN CONFIGURATION #
c.url.default_page = "https://mangadex.org/follows"
c.url.default_page = "https://news.ycombinator.com"
c.url.start_pages = ["https://duckduckgo.com/?q=20m+timer"]
c.url.searchengines = {"DEFAULT": "duckduckgo.com/?q={}", "y": invid + "/search?q={}"}
@ -110,7 +110,6 @@ REDIRECT_MAP = {
"youtube.com": operator.methodcaller('setHost', invid),
"youtu.be": operator.methodcaller('setHost', invid),
"www.instagram.com": operator.methodcaller('setHost', 'bibliogram.snopyta.org'),
"hn.algolia.com": operator.methodcaller('setHost', 'news.ycombinator.com'),
}
def int_fn(info: interceptor.Request):
"""Block the given request if necessary."""

2
.setup
View file

@ -2,7 +2,7 @@
sudo eopkg it -c system.devel
sudo eopkg rm celluloid gnome-mpv gnome-terminal libreoffice-common mate-terminal nautilus rhythmbox
desktop="audacity caja feh gmic-gimp keepassx kitty mpv qbittorrent quodlibet qutebrowser rofi spek viewnior zathura"
desktop="audacity caja feh gmic-gimp keepassx kitty mpv qbittorrent quodlibet qutebrowser rofi spek transmission viewnior zathura"
terminal="advancecomp aria2 autojump busybox fd fish git-extras innoextract jq libva-utils most ncdu neovim pip ripgrep solbuild-config-local-unstable speedtest-cli stow"
sudo eopkg it $desktop $terminal
sudo pip3 install --upgrade qutebrowser