1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-23 21:56:45 +00:00

fish: add more pipx programs, update dwarfs alias

clean: remove more cache directories
qutebrowser: enable cookies/js on gradecope
This commit is contained in:
Phantop 2022-11-08 11:10:49 -05:00
parent db870b04e4
commit e8146a89cc
3 changed files with 5 additions and 3 deletions

View file

@ -60,7 +60,7 @@ a ydl 'yt-dlp'
a 7zstd '7z a -m0=zstd -mx22 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z' a 7zstd '7z a -m0=zstd -mx22 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z' a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
a dwarf 'mkdwarfs -i . -o $PWD.dwarfs' a dwarf 'mkdwarfs -i . -o $PWD.dwarfs -f'
a dwarfmount 'dwarfs -f $argv (mktemp -d | tee /dev/tty /dev/stderr 2>| clip);:' 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 dwarfs 'dwarfs -o offset=auto -o tidy_strategy=swap'
a dwarfs2null 'dwarfsextract -o /dev/null -f gnutar -i' a dwarfs2null 'dwarfsextract -o /dev/null -f gnutar -i'
@ -74,9 +74,10 @@ for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
a $i "qutebrowser / \":open $i\"" a $i "qutebrowser / \":open $i\""
end end
for i in deemix nsz ratarmount scdl soundscrape spleeter for i in deemix diffoscope encodec lightnovel-crawler mandown mathicsscript nsz ratarmount scdl soundscrape spleeter
a $i "pipx run $i" a $i "pipx run $i"
end end
a mathics 'pipx run --spec mathics-django mathicsserver'
function alpine function alpine
set url https://dl-cdn.alpinelinux.org/alpine/edge/releases/x86_64/ set url https://dl-cdn.alpinelinux.org/alpine/edge/releases/x86_64/

View file

@ -5,7 +5,7 @@ sudo eopkg rmo -y
sudo eopkg rdb -y sudo eopkg rdb -y
sudo eopkg clean -y sudo eopkg clean -y
fc-cache -f fc-cache -f
rm -r ~/.cache rm -r ~/.cache ~/.wine ~/.local/pipx/.cache/
fish -c "j --purge" fish -c "j --purge"
docker system prune -f docker system prune -f
docker image prune -a docker image prune -a

View file

@ -10,6 +10,7 @@ sites = [
'*.rpi.edu', '*.rpi.edu',
'api-3e0243bb.duosecurity.com', 'api-3e0243bb.duosecurity.com',
'www.gradescope.com',
] ]
for site in sites: for site in sites:
config.set('content.javascript.enabled', True, 'https://' + site) config.set('content.javascript.enabled', True, 'https://' + site)