diff --git a/setup_sway_isomode.bash b/setup_sway_isomode.bash index 159dbfb..0c73ef5 100644 --- a/setup_sway_isomode.bash +++ b/setup_sway_isomode.bash @@ -5,6 +5,13 @@ username="$1" echo "Cloning the EOS Community Sway repo..." git clone https://github.com/EndeavourOS-Community-Editions/sway.git +# Check if nvidia-inst is installed +if pacman -Qq nvidia-inst 2>/dev/null | grep -q .; then + # If it is, do the Nvidia stuff +# some Nvidia stuff +# some other Nvidia stuff +fi + # Install the custom package list echo "Installing needed packages..." pacman -S --noconfirm --noprogressbar --needed --disable-download-timeout $(< ./sway/packages-repository.txt)