mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-22 14:52:47 +00:00
bin: some cleanup/management; qute: librex
This commit is contained in:
parent
97138babad
commit
a19cc3c950
|
@ -20,6 +20,7 @@ a dirdl 'wget -r -k -p -np -nc e robots=off'
|
|||
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -{j,s,x}16'
|
||||
a drivedl 'dl https://docs.google.com/uc?export=download&id=(echo $argv | cut -d/ -f6)&confirm=t'
|
||||
a dot 'cd ~/.dotfiles'
|
||||
a epubpack 'cd $argv && zip -0rX ../(basename $argv).epub mimetype *; cd ..;:'
|
||||
a ff 'fd -HILi -Edosdevices -E.git'
|
||||
a g git
|
||||
a giveme 's chown $USER'
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
#!/bin/sh
|
||||
fd -e pdf -x cpdfsqueeze {} {}
|
||||
fd -e pdf -x qpdf --stream-data=compress --replace-input --compress-streams=y --recompress-flate --compression-level=9 --optimize-images {}
|
||||
|
||||
fd -e png -x oxipng
|
||||
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 -t f -x advzip -z3
|
||||
|
|
13
bin/setup
13
bin/setup
|
@ -5,12 +5,13 @@ alias s=sudo se="s eopkg -y" g=git
|
|||
gnome="gnome-photos gnome-mpv gnome-terminal nautilus rhythmbox"
|
||||
se rm $gnome firefox libreoffice-common onboard thunderbird
|
||||
|
||||
a="advancecomp arcanist aria2 audacious audacity avidemux bleachbit caja ccache"
|
||||
b="corectrl fd fish fzf gimp git-extras ifuse innoextract jpegoptim keepassxc kitty"
|
||||
c="linux-tools-cpupower llvm-clang lrzip mkvtoolnix moreutils mpv ncdu neovim"
|
||||
d="nicotine-plus nnn opus-tools p7zip parallel qt-creator qutebrowser ripgrep"
|
||||
e="solbuild spek syncthing tig tlp tor upx usbmuxd yt-dlp zathura-mupdf"
|
||||
se up; se it -c system.devel $a $b $c $d $e
|
||||
a="advancecomp arcanist archivemount aria2 audacious audacity avidemux bleachbit"
|
||||
b="caja ccache corectrl fd fish fuse-zip fzf gifsicle gimp git-extras ifuse"
|
||||
c="innoextract jpegoptim keepassxc kitty linux-tools-cpupower llvm-clang lrzip lynx"
|
||||
d="mkvtoolnix moreutils mpv ncdu neovim nicotine-plus nnn opus-tools p7zip parallel"
|
||||
e="qt-creator qutebrowser ripgrep solbuild spek syncthing tig tlp tor upx usbmuxd"
|
||||
f="yt-dlp zathura-mupdf"
|
||||
se up; se it -c system.devel $a $b $c $d $e $f
|
||||
pip3 install adblock pipx-in-pipx readability-lxml
|
||||
|
||||
stow --no-folding -d ~/.dotfiles -t ~/.config .
|
||||
|
|
|
@ -11,12 +11,11 @@ c.confirm_quit = ['downloads']
|
|||
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'] = 'farside.link/librex/search.php?q={}'
|
||||
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
|
||||
c.url.searchengines['t'] = 'ao3.org/tags/{}'
|
||||
c.url.searchengines['s'] = 'farside.link/searxng/search?q={}'
|
||||
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
||||
c.url.searchengines['!'] = 'duck.com/?q=!{}'
|
||||
c.url.searchengines['DEFAULT'] = c.url.searchengines['l']
|
||||
c.url.start_pages = c.url.default_page = 'megafocs.fly.dev'
|
||||
|
||||
config.source('adblock.py')
|
||||
|
|
|
@ -52,6 +52,7 @@ map = {
|
|||
"www.instagram.com": bibliogram,
|
||||
"translate.google.com" : simplytranslate,
|
||||
"vm.tiktok.com" : proxitok,
|
||||
"www.tiktok.com" : proxitok,
|
||||
"www.quora.com": querte,
|
||||
|
||||
"www.twitch.tv" : o(s, 'm.twitch.tv'),
|
||||
|
|
Loading…
Reference in a new issue