Updated config
This commit is contained in:
parent
dea8315917
commit
6d7312c465
6 changed files with 17 additions and 4 deletions
|
@ -102,7 +102,7 @@ alias tl "tmux ls"
|
|||
alias tk "tmux kill-server"
|
||||
|
||||
# ...
|
||||
alias ai "sudo systemctl start ollama && sleep 1 && ollama run gemma3"
|
||||
alias ai "sudo systemctl start ollama && sleep 1 && ollama run gemma3:27b"
|
||||
alias align "column -t -o ' '"
|
||||
alias c "rg --files | xargs fnl --remove"
|
||||
alias cfg "config"
|
||||
|
|
|
@ -21,4 +21,16 @@ for jpg in (find $argv[1] -type f -name '*.jpg')
|
|||
echo Renaming JSON $json to "$avif.JSON"
|
||||
mv $json "$avif.JSON"
|
||||
end
|
||||
end
|
||||
|
||||
for png in (find $argv[1] -type f -name '*.png')
|
||||
set avif (string replace -r '\.png$' '.avif' $png)
|
||||
|
||||
if test -f $avif
|
||||
echo Skip $avif
|
||||
continue
|
||||
end
|
||||
|
||||
echo Converting $png to $avif
|
||||
avifenc $png $avif
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue