From f48ab3d4d1a5d5a9635ef5d8ee8804bdd0280e17 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Thu, 16 Apr 2020 19:27:14 +0200 Subject: [PATCH] Added obs studio --- scripts/system-setup.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/system-setup.sh b/scripts/system-setup.sh index 2d30d2b..1af2f3f 100644 --- a/scripts/system-setup.sh +++ b/scripts/system-setup.sh @@ -5,6 +5,7 @@ # # shellcheck source=/dev/null # Deactivate SC1090 source "$(dirname "$(readlink -f "${0}")")/base.sh" +SYSTEM_MEMORY_KB="$(grep MemTotal /proc/meminfo | awk '{print $2}')" echo "Start setup of customized core software..." echo "Copying templates to home folder..." cp -rfv "$TEMPLATE_PATH/." "$HOME" @@ -60,6 +61,11 @@ sudo pacman --needed -S ttf-liberation libreoffice-fresh \ hunspell-de hunspell-es_es hunspell-en_US hunspell-nl echo "Synchronizing grafic tools..." sudo pacman --needed -S gimp blender +obs_requirements_memory_kb="4000000" +if [ "$SYSTEM_MEMORY_KB" -gt "$obs_requirements_memory_kb" ]; then + echo "Synchronizing obs studio..." + sudo pacman -S obs-studio +fi echo "Synchronizing communication tools..." yay -S slack-desktop skypeforlinux-stable-bin echo "Synchronizing development tools..." @@ -123,8 +129,7 @@ echo "Installing entertainment software..." echo "->Synchronizing audio software..." sudo pacman -S rhythmbox minimum_gaming_memory_kb="4000000" -actual_memory_kb="$(grep MemTotal /proc/meminfo | awk '{print $2}')" -if [ $actual_memory_kb -gt $minimum_gaming_memory_kb ]; then +if [ "$SYSTEM_MEMORY_KB" -gt "$minimum_gaming_memory_kb" ]; then echo "->Synchronizing games..." sudo pacman --needed -S 0ad warzone2100 echo "->Synchronizing emulationstation..."