From 2de300120ef1ac5b4246cde1732f8666b4ae0a53 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 25 Jan 2024 20:19:09 +0100 Subject: [PATCH] Updates --- .install/hyprland-packages.sh | 12 +++++++++++- install.sh | 2 -- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.install/hyprland-packages.sh b/.install/hyprland-packages.sh index 8841432..90d5f9f 100644 --- a/.install/hyprland-packages.sh +++ b/.install/hyprland-packages.sh @@ -12,5 +12,15 @@ packagesYay=( "swww" "swaylock-effects-git" "wlogout" - "nwg-look" ); + +if [[ $(_isInstalledYay "nwg-look") == 0 ]]; then + echo ":: nwg-look is already installed." +else + if [[ $(_isInstalledYay "nwg-look-bin") == 0 ]]; then + echo ":: nwg-look-bin is already installed." + else + echo ":: Starting installation of nwg-look-bin" + yay --noconfirm -S nwg-look-bin + fi +fi \ No newline at end of file diff --git a/install.sh b/install.sh index 957afa1..88b74ac 100755 --- a/install.sh +++ b/install.sh @@ -42,9 +42,7 @@ source .install/profile.sh if [[ $profile == *"Hyprland"* ]]; then source .install/hyprland-version.sh fi - source .install/installer.sh - source .install/general.sh source .install/general-packages.sh source .install/install-packages.sh