diff --git a/bin/config.fish b/bin/config.fish index 6cb5d2d..e486cec 100755 --- a/bin/config.fish +++ b/bin/config.fish @@ -58,13 +58,13 @@ a def 'curl dict://dict.org/d:$argv;:' a dirdl 'wget -r -k -p -np -e robots=off' a dl 'test -z "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16 --http-accept-gzip' a dot 'cd ~/.dotfiles' -a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t' +a drivedl 'dl https://drive.usercontent.google.com/download?confirm=t&(echo $argv | cut -d/ -f6);:' a epubpack 'cd $argv && zip -0rX ../(basename $argv).epub mimetype *; cd ..;:' a ff 'fd -HILi -Edosdevices -E.git' a fichub 'lynx -dump https://fichub.net/legacy/epub_export?q=$argv | grep epub? | cut -d. -f2- | dl -i-;:' a fumount 'fusermount -u' a g git -a gdl 'gallery-dl --exec-after "fish -c all2jxl"' +a gdl 'gallery-dl --exec-after "cd gallery-dl && fish -c all2jxl"' a gittop 'cd (git root)' a giveme 's chown $USER' a gsopti 'fd -e pdf -x gs -sDEVICE=pdfwrite -dNOPAUSE -sOutputFile={}1 {} \; -x mv {}1 {}' diff --git a/bin/setup b/bin/setup index bd884da..e1881d0 100755 --- a/bin/setup +++ b/bin/setup @@ -24,6 +24,7 @@ echo kernel.core_pattern=/dev/null | t /etc/sysctl.d/50-coredump.conf echo options i915 enable_rc6=1 enable_fbc=1 lvds_downclock=1 enable__psr=1 | t /etc/modprobe.d/i915.conf if bootctl status | grep systemd-boot; then echo options lsm=landlock,lockdown,yama,integrity,apparmor,bpf | t /boot/loader/entries/*.conf + s systemctl enable --now apparmor fi s sed -i /NoDisplay/d /usr/share/applications/nsxiv.desktop diff --git a/qutebrowser/include/redirects.py b/qutebrowser/include/redirects.py index 60f0949..da80e4b 100644 --- a/qutebrowser/include/redirects.py +++ b/qutebrowser/include/redirects.py @@ -46,7 +46,7 @@ def dosub(url: QUrl, host, sub): def fandom(url: QUrl, sub): dosub(url, 'farside.link', 'breezewiki/' + sub) def tumblr(url: QUrl, sub): - dosub(url, 'priviblur.fly.dev', sub) + dosub(url, 'prvblr.fly.dev', sub) subs = { 'fandom.com' : fandom,