From 57931faeeaaf7f4dc7017df057757ff687616cae Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Mon, 12 May 2025 13:04:03 +0200 Subject: [PATCH] Updated script --- update_arch.sh | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/update_arch.sh b/update_arch.sh index 7cb74da..4e1a8f8 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -259,7 +259,6 @@ if [ "${ROLES[TERMINAL]}" == "yes" ]; then ln -sf ~/linuxbox/config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml ln -sf ~/linuxbox/config/lazygit/config.yml ~/.config/lazygit/config.yml - nvim --headless "+MasonUpdate" +qa nvim --headless "+Lazy! sync" +qa printf -- '\033[33m Installing fzf\n\033[37m' @@ -280,7 +279,11 @@ fi # Install code utility if [ "${ROLES[CODE]}" == "yes" ]; then printf -- '\033[33m Installing code utilities\n\033[37m' - sudo pacman --noconfirm --needed -S code platformio-core + sudo pacman --noconfirm --needed -S code platformio-core + + printf -- '\033[33m Installing LSP servers\n\033[37m' + sudo pacman --noconfirm --needed -S rust-analyzer lua-language-server bash-language-server ccls vscode-html-languageserver vscode-json-languageserver marksman pyright yaml-language-server vscode-css-languageserver clang + yay --noconfirm -S --needed --aur dockerfile-language-server printf -- '\033[33m Installing Rust embedded rp2040\n\033[37m' cd ~ @@ -372,20 +375,20 @@ if [ "${ROLES[GAME]}" == "yes" ]; then yay --noconfirm -S --needed --aur openmpi if [ "$HOSTNAME" == "SIMONBOX" ]; then + printf -- '\033[33m Installing Simon specific game utilities\n\033[37m' flatpak install -y flathub org.vinegarhq.Sober sudo pacman -S --noconfirm --needed fluidsynth gamemode gvfs libayatana-appindicator innoextract lib32-gamemode lib32-vkd3d python-pefile python-protobuf vulkan-icd-loader vkd3d lib32-vulkan-icd-loader vulkan-tools xorg-xgamma umu-launcher sudo pacman -S --noconfirm --needed lutris fi -fi -# Install VR utility -if [ "${ROLES[VR]}" == "yes" ]; then - printf -- '\033[33m Installing VR utilities\n\033[37m' - sudo pacman -S --noconfirm --needed cli11 glib2-devel nlohmann-json glew - yay --noconfirm -S --needed --aur monado-vulkan-layers-git - yay --noconfirm -S --needed --aur wlx-overlay-s-git - yay --noconfirm -S --needed --aur xrgears - yay --noconfirm -S --needed --aur envision-xr-git + if [ "${ROLES[VR]}" == "yes" ]; then + printf -- '\033[33m Installing VR utilities\n\033[37m' + sudo pacman -S --noconfirm --needed cli11 glib2-devel nlohmann-json glew + yay --noconfirm -S --needed --aur monado-vulkan-layers-git + yay --noconfirm -S --needed --aur wlx-overlay-s-git + yay --noconfirm -S --needed --aur xrgears + yay --noconfirm -S --needed --aur envision-xr-git + fi fi # Install lab utility