minor updates

This commit is contained in:
Alexander Navarro 2025-02-06 18:54:55 -03:00
parent bc52dafdd7
commit d84e0d646e
6 changed files with 468 additions and 577 deletions

View file

@ -78,6 +78,8 @@ cargo install --locked {{# each (flatten_table cargo.packages) }} "{{ this }}" {
{{ #if dotter.packages.cli }}
{{ #if not( command_success "fc-list | grep JetBrains")}}
{{ header "Configuring Nerd Fonts" }}
FONT_DIR="$HOME/.local/share/fonts"
@ -86,14 +88,7 @@ tmp_dir=$(mktemp -d)
curl -L https://github.com/ryanoasis/nerd-fonts/releases/latest/download/{{ nerd_font }}.zip -o "$tmp_dir/{{ nerd_font}}.zip"
unzip -o "$tmp_dir/{{nerd_font}}.zip" -d ${FONT_DIR}/{{ nerd_font }}
curl -L https://github.com/joshmedeski/sesh/releases/latest/download/sesh_Linux_x86_64.tar.gz -o "$tmp_dir/sesh.tar.gz"
mkdir -p "$HOME/.local/bin"
tar xvf "$tmp_dir/sesh.tar.gz" --directory="$HOME/.local/bin" sesh
rm -rf "$tmp_dir"
{{ /if }}
{{ /if }}