From 23bf7c340a07f67138bdfdeb0fa8a9a49074b3bd Mon Sep 17 00:00:00 2001 From: Phantop Date: Sat, 5 Dec 2020 15:28:04 -0500 Subject: [PATCH] Qute: use teddit.net; Git: easy sr.ht cloning --- .config/autostart/Invidious.desktop | 2 +- .config/qutebrowser/config.py | 6 +++--- .gitconfig | 2 ++ .setup | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.config/autostart/Invidious.desktop b/.config/autostart/Invidious.desktop index 3e44259..8809db0 100644 --- a/.config/autostart/Invidious.desktop +++ b/.config/autostart/Invidious.desktop @@ -2,4 +2,4 @@ Type=Application Name=Invidious Description= -Exec=bash -c invidious +Exec=fish -c invidious diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 9c77ea0..c49be8d 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -54,7 +54,7 @@ config.bind('', 'spawn -u readability') config.bind('st', 'config-cycle -t content.proxy socks://localhost:9050/ system') config.bind('sc', 'config-cycle -t content.user_stylesheets adapta.css ""') -config.bind('sd', "spawn fish -c 'xdg-open ~/Downloads/(ls ~/Downloads | rofi -location 6 -dmenu || exit 0)'") +config.bind('sd', "spawn fish -c 'xdg-open ~/Downloads/(ls ~/Downloads | rofi -location 6 -dmenu -i || exit 0)'") # APPEARANCE # @@ -105,8 +105,8 @@ ccc.scrollbar.fg = accent from qutebrowser.api import interceptor import operator, typing REDIRECT_MAP = { - "reddit.com": operator.methodcaller('setHost', 'old.reddit.com'), - "www.reddit.com": operator.methodcaller('setHost', 'old.reddit.com'), + "reddit.com": operator.methodcaller('setHost', 'teddit.net'), + "www.reddit.com": operator.methodcaller('setHost', 'teddit.net'), "twitter.com": operator.methodcaller('setHost', nittr), "api.twitter.com": operator.methodcaller('setHost', nittr), "platform.twitter.com": operator.methodcaller('setHost', nittr), diff --git a/.gitconfig b/.gitconfig index fa9327d..9d5749a 100644 --- a/.gitconfig +++ b/.gitconfig @@ -28,6 +28,8 @@ insteadOf = "gitlab:" insteadOf = "lab:" insteadOf = "gl:" +[url "https://git.sr.ht"] + insteadof = "https://sr.ht" [color] ui = auto [alias] diff --git a/.setup b/.setup index a2050d3..3140d63 100755 --- a/.setup +++ b/.setup @@ -5,9 +5,9 @@ gnome=$(eval echo eog file-roller gnome-{calendar,photos,mpv,terminal} nautilus sudo eopkg rm celluloid firefox $gnome hexchat libreoffice-common thunderbird audio="audacious audacious-plugins audacity opus-tools quodlibet spek" -dev="docker-compose git-extras neovim openssh-server parallelpip solbuild tig tor upx" +dev="docker-compose git-extras neovim openssh-server parallel pip solbuild tig tor upx" gui="bleachbit caja engrampa goverlay keepassx kitty libstrangle qutebrowser rofi" -media="feh gmic-gimp mpv playerctl usbmuxd rsync viewnior zathura-poppler" +media="feh gmic-gimp jpegoptim mpv playerctl usbmuxd rsync viewnior zathura-poppler" rice="adapta-gtk-theme devilspie2 font-ubuntu-ttf stow" term="advancecomp aria2 autojump fd fish fzf innoextract most ncdu p7zip ripgrep tmux" sudo eopkg it $audio $dev $gui $media $rice $term