From 4c71d0f4fd5f63071f391c45c8955c6aad5ffa4a Mon Sep 17 00:00:00 2001 From: steveokard Date: Fri, 20 Jan 2023 01:02:41 -0500 Subject: [PATCH] updated nerdfonts --- desktop.sh | 21 --------------------- init.sh | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100755 desktop.sh diff --git a/desktop.sh b/desktop.sh deleted file mode 100755 index 98aa311..0000000 --- a/desktop.sh +++ /dev/null @@ -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 diff --git a/init.sh b/init.sh index e0b1e19..5201066 100755 --- a/init.sh +++ b/init.sh @@ -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 }