updated nerdfonts

This commit is contained in:
Stefen Auris 2023-01-20 01:02:41 -05:00
parent e0cfa822bf
commit 4c71d0f4fd
2 changed files with 1 additions and 22 deletions

View file

@ -1,21 +0,0 @@
#!/bin/bash
#Installs programs I use on a personal desktop that aren't part of the usual repositories
#Telegram, Discord, Guilded
function dpkg_url() {
local tmp_deb="$(mktemp)"
local src_url=$1
local args=${@:2}
wget -O $tmp_deb $src_url &&
sudo dpkg -i $tmp_deb $args &&
{ rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file
{ rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway
}
wget https://telegram.org/dl/desktop/linux -O ~/Downloads/tsetup.tar.xz
mkdir ~/bin
tar -xf ~/Downloads/tsetup.tar.xz -C ~/bin/
dpkg_url https://discord.com/api/download?platform=linux&format=deb
dpkg_url https://downloads.vivaldi.com/stable/vivaldi-stable_5.1.2567.73-1_amd64.deb
#dpkg_url https://www.guilded.gg/downloads/Guilded-Linux.deb
sudo apt install yt-dlp

View file

@ -81,7 +81,7 @@ spacevim () {
fonts () {
echo "installing fonts"
mkdir ~/.fonts
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/SourceCodePro.zip
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.1/SourceCodePro.zip
unzip -q SourceCodePro.zip -x '*Compatible.ttf' -d "$HOME/.fonts"
rm SourceCodePro.zip
}