From f812fefe1731fd835f7965d349a95aa2f31abf02 Mon Sep 17 00:00:00 2001 From: Phantop Date: Tue, 5 Jul 2022 19:48:52 -0400 Subject: [PATCH] qute: easily set site cookies to all --- bin/aliases | 1 - bin/optiall | 4 ++-- bin/setup | 2 +- nvim/init.lua | 3 ++- qutebrowser/bindings.py | 2 +- qutebrowser/config.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/aliases b/bin/aliases index 226f7ed..8b05583 100755 --- a/bin/aliases +++ b/bin/aliases @@ -66,7 +66,6 @@ a dwarfmount 'dwarfs -f $argv (mktemp -d | tee /dev/tty /dev/stderr 2>| clip);:' a dwarfs 'dwarfs -o offset=auto -o tidy_strategy=swap' a dwarfs2null 'dwarfsextract -o /dev/null -f ustar -i' a dwarfs2tar 'dwarfsextract -o dwarfs-root.tar -f ustar -i' -a foldwarf 'appdwarf -f $argv .;:' a redwarf 'mkdwarfs -o redwarf.dwarfs --recompress -i' a squash 'mksquashfs . $PWD.squashfs -comp zstd -b 1M -Xcompression-level 22' a undwarfs 'mkdir dwarfs-root; dwarfsextract -o dwarfs-root -i' diff --git a/bin/optiall b/bin/optiall index 609f01a..9b4d565 100755 --- a/bin/optiall +++ b/bin/optiall @@ -7,8 +7,8 @@ fd -e jpg -e jpeg -x jpegoptim fd -e png -e jpg -e jpeg g -X pingo -s9 fd -e webp -x cwebp -z 9 -mt {} -o {} -fd -e epub -e zip -e cbz -e jar -e docx -e odt -e apk -x advzip -z2 -fd -t f -x advdef -z2 +fd -t f -x advzip -z3 +fd -t f -x advdef -z3 fd -e mp3 -x mp3packer fd -e mp3 -x rename -- -vbr '' diff --git a/bin/setup b/bin/setup index c3f2b93..f8779e2 100755 --- a/bin/setup +++ b/bin/setup @@ -3,7 +3,7 @@ alias s=sudo se="s eopkg -y" g=git gnome="eog gnome-photos gnome-mpv gnome-terminal nautilus rhythmbox" -se rm $gnome firefox hexchat libreoffice-common onboard thunderbird +se rm $gnome firefox libreoffice-common onboard thunderbird dev="arcanist ccache git-extras llvm-clang neovim parallel qt-creator solbuild" gui="caja gimp keepassxc kitty nicotine-plus qutebrowser syncthing zathura-mupdf" diff --git a/nvim/init.lua b/nvim/init.lua index bb006d6..aa7f714 100755 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -12,6 +12,7 @@ require "paq" { 'RobertAudi/fish.vim'; 'tpope/vim-commentary'; 'tpope/vim-sensible'; + 'tpope/vim-sleuth'; 'tpope/vim-surround'; 'vim-airline/vim-airline'; } @@ -45,5 +46,5 @@ colorscheme dracula command Q q! filetype plugin indent on syntax enable -PaqClean +PaqSync ]] diff --git a/qutebrowser/bindings.py b/qutebrowser/bindings.py index fd3688f..0f595bb 100644 --- a/qutebrowser/bindings.py +++ b/qutebrowser/bindings.py @@ -38,7 +38,7 @@ bind = { 'st': 'config-cycle -p content.proxy socks://localhost:9050 ' + c.content.proxy, 'T' : 'tab-next', 'td': 'config-unset -u {url:host} content.headers.user_agent', - 'W': 'config-cycle -p -u *://*.{url:host}/* content.cookies.accept no-3rdparty never', + 'W': 'config-cycle -p -u *://*.{url:host}/* content.cookies.accept no-3rdparty all never', } for a, b in bind.items(): config.bind(a, b) diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 5861ce6..df73e71 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -13,7 +13,7 @@ c.downloads.location.directory = '~/Downloads' c.qt.workarounds.remove_service_workers = True c.url.searchengines['DEFAULT'] = 'farside.link/searxng/search?q={}' -c.url.searchengines['l'] = 'librex.elpengu.com/search.php?q={}' +c.url.searchengines['l'] = 'search.davidovski.xyz/search.php?q={}' c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}' c.url.searchengines['t'] = 'ao3.org/tags/{}' c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'