1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-23 13:48:03 +00:00

Qute: use teddit.net; Git: easy sr.ht cloning

This commit is contained in:
Phantop 2020-12-05 15:28:04 -05:00
parent 58fe1e3a65
commit 23bf7c340a
4 changed files with 8 additions and 6 deletions

View file

@ -2,4 +2,4 @@
Type=Application
Name=Invidious
Description=
Exec=bash -c invidious
Exec=fish -c invidious

View file

@ -54,7 +54,7 @@ config.bind('<Ctrl-r>', '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),

View file

@ -28,6 +28,8 @@
insteadOf = "gitlab:"
insteadOf = "lab:"
insteadOf = "gl:"
[url "https://git.sr.ht"]
insteadof = "https://sr.ht"
[color]
ui = auto
[alias]

4
.setup
View file

@ -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