diff --git a/setup/install.sh b/setup/install.sh index def46a6..b8fdc97 100644 --- a/setup/install.sh +++ b/setup/install.sh @@ -46,7 +46,7 @@ do bash ${file} done echo "Installing dotfiles" -for file in program/dotfiles/**/*.sh +for file in programs/dotfiles/**/*.sh do bash ${file} done diff --git a/setup/programs/others/nerd-font.sh b/setup/programs/others/nerd-font.sh index b912cca..82381ad 100644 --- a/setup/programs/others/nerd-font.sh +++ b/setup/programs/others/nerd-font.sh @@ -1,2 +1,32 @@ +#/bin/bash + +unameOut="$(uname -s)" +case "${unameOut}" in + Linux*) + machine=Linux;; + Darwin*) + machine=Mac;; + CYGWIN*) + machine=Cygwin;; + MINGW*) + machine=MinGw;; + MSYS_NT*) + machine=Git;; + *) + machine="UNKNOWN:${unameOut}" +esac + +if [ "$machine" = "Mac" ] +then brew tap homebrew/cask-fonts brew install font-hack-nerd-font +fi + +if [ "$machine" = "Linux" ] +then +echo "[-] Download fonts [-]" +wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/DroidSansMono.zip +unzip DroidSansMono.zip -d ~/.fonts +fc-cache -fv +echo "done!" +fi diff --git a/setup/programs/others/python3-libs/packages.sh b/setup/programs/others/python3-libs/packages.sh index eda4a90..f80b2ae 100644 --- a/setup/programs/others/python3-libs/packages.sh +++ b/setup/programs/others/python3-libs/packages.sh @@ -7,4 +7,4 @@ function install { } -python_packages = (numpy matplotlib scipy seaborn django torch torchvision torchaudio networkx Faker torch-cluster torch-geometric torch-scatter torch-sparse torch-spline-conv tqdm yapf yt-dlp scikit-learn scikit-image pandas 'python3-lsp-server[all]' pynvim pylsp-mypy python-lsp-isort python-lsp-black pylint flake8) +python_packages=("numpy" "matplotlib" "scipy" "seaborn" "django" "torch" "torchvision" "torchaudio" "networkx" "Faker" "torch-cluster" "torch-geometric" "torch-scatter" "torch-sparse" "torch-spline-conv" "tqdm" "yapf" "yt-dlp" "scikit-learn" "scikit-image" "pandas" "python3-lsp-server[all]" "pynvim" "pylsp-mypy" "python-lsp-isort" "python-lsp-black" "pylint" "flake8")