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:
parent
7d76b78179
commit
b44b840de7
|
@ -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')
|
config.bind('sca', 'config-cycle -t content.user_stylesheets "[normalize/normalize.css, adapta.css]" normalize/normalize.css')
|
||||||
|
|
||||||
# BEGIN MAIN CONFIGURATION #
|
# 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.start_pages = ["https://duckduckgo.com/?q=20m+timer"]
|
||||||
c.url.searchengines = {"DEFAULT": "duckduckgo.com/?q={}", "y": invid + "/search?q={}"}
|
c.url.searchengines = {"DEFAULT": "duckduckgo.com/?q={}", "y": invid + "/search?q={}"}
|
||||||
|
|
||||||
|
@ -110,7 +110,6 @@ REDIRECT_MAP = {
|
||||||
"youtube.com": operator.methodcaller('setHost', invid),
|
"youtube.com": operator.methodcaller('setHost', invid),
|
||||||
"youtu.be": operator.methodcaller('setHost', invid),
|
"youtu.be": operator.methodcaller('setHost', invid),
|
||||||
"www.instagram.com": operator.methodcaller('setHost', 'bibliogram.snopyta.org'),
|
"www.instagram.com": operator.methodcaller('setHost', 'bibliogram.snopyta.org'),
|
||||||
"hn.algolia.com": operator.methodcaller('setHost', 'news.ycombinator.com'),
|
|
||||||
}
|
}
|
||||||
def int_fn(info: interceptor.Request):
|
def int_fn(info: interceptor.Request):
|
||||||
"""Block the given request if necessary."""
|
"""Block the given request if necessary."""
|
||||||
|
|
2
.setup
2
.setup
|
@ -2,7 +2,7 @@
|
||||||
sudo eopkg it -c system.devel
|
sudo eopkg it -c system.devel
|
||||||
sudo eopkg rm celluloid gnome-mpv gnome-terminal libreoffice-common mate-terminal nautilus rhythmbox
|
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"
|
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 eopkg it $desktop $terminal
|
||||||
sudo pip3 install --upgrade qutebrowser
|
sudo pip3 install --upgrade qutebrowser
|
||||||
|
|
Loading…
Reference in a new issue