1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-22 06:42:46 +00:00

Alias all2jxl, clean up setup brace expansions

This commit is contained in:
Phantop 2021-09-26 01:04:50 -04:00
parent bf3d696758
commit 5fcf8ad22a
3 changed files with 8 additions and 11 deletions

View file

@ -3,6 +3,7 @@ alias a 'alias -s'
a D 'cd $D'
a aliases 'v (which aliases); command aliases'
a all2jxl 'fd -e{png.jpg} -x cjxl -e 8 -q 100 {} {.}.jxl && fd -e{png,jpg} -x rm'
a base64d 'echo (echo $argv | base64 -d 2>/dev/null);:'
a bax 'source (which bax) && bax'
a cd 'cd (realpath $argv 2> /dev/null);:'

View file

@ -1,4 +0,0 @@
#!/bin/sh
fd -e webp -x dwebp {} -o {.}.png && \
fd -e png -e jpg -x cjxl -e 8 -q 100 {} {.}.jxl && \
fd -e png -e jpg -e webp -x rm

View file

@ -1,15 +1,15 @@
#!/bin/bash
gnome=$(eval echo eog evolution-data-server file-roller gnome-{calendar,photos,mpv,terminal} nautilus onboard rhythmbox)
sudo eopkg rm -y celluloid firefox $gnome hexchat libreoffice-common thunderbird transmission
gnome="$(echo eog file-roller gnome-{calendar,photos,mpv,terminal} nautilus rhythmbox)"
sudo eopkg rm -y firefox $gnome hexchat onboard thunderbird
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx"
gui="abiword bleachbit caja gmic-gimp engrampa keepassx kitty lutris vorta"
media="avidemux gaupol jpegoptim mpv playerctl rsync usbmuxd viewnior zathura-poppler"
media="avidemux gaupol jpegoptim mpv playerctl usbmuxd viewnior zathura-poppler"
rice="adapta-gtk-theme ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow"
term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep rsync tmux"
sys="corectrl ifuse linux-tools-cpupower tlp"
web="arcanist aria2 deluge nicotine-plus qutebrowser openssh-server subliminal"
term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep tmux"
sys="corectrl ifuse linux-tools-cpupower rsync tlp"
web="arcanist aria2 nicotine-plus qutebrowser openssh-server rclone subliminal"
sudo eopkg up -y
sudo eopkg it -y -c system.devel $audio $dev $gui $media $rice $sys $term $web
@ -30,7 +30,7 @@ parallel pip3 install -U ::: adblock pipipxx readability-lxml sh
parallel pipx install ::: deemix soundscrape tldr
sudo eopkg rm -y --ignore-dependency tracker
sudo systemctl mask tracker-{store,miner-fs,miner-rss,extra,miner-apps,writeback}
sudo systemctl mask tracker-{store,miner-{fs,rss,apps},extra,writeback}
sudo systemctl enable --now docker
sudo usermod -aG docker $USER