diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index 79aa096..9698417 100755 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -51,6 +51,7 @@ hypr_package_2=( mpv-mpris nvtop pamixer + qalculate-gtk vim ) diff --git a/install-scripts/hyprwayland-scanner.sh b/install-scripts/hyprwayland-scanner.sh index 60bca47..88537c8 100755 --- a/install-scripts/hyprwayland-scanner.sh +++ b/install-scripts/hyprwayland-scanner.sh @@ -6,7 +6,7 @@ scan_depend=( libpugixml-dev ) #specific branch or release -scan_tag="v0.3.7" +scan_tag="v0.3.8" ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## # Determine the directory where the script is located diff --git a/install-scripts/rog.sh b/install-scripts/rog.sh index 8860cd4..e6e98e1 100755 --- a/install-scripts/rog.sh +++ b/install-scripts/rog.sh @@ -2,6 +2,10 @@ # 💫 https://github.com/JaKooLit 💫 # # ASUS ROG ) # +asus=( + power-profiles-daemon +) + ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## # Determine the directory where the script is located SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -15,6 +19,18 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" # Set the name of the log file to include the current date and time LOG="install-$(date +%d-%H%M%S)_rog.log" +# Installing enhancemet +for PKG1 in "${asus[@]}"; do + install_package "$PKG1" 2>&1 | tee -a "$LOG" + if [ $? -ne 0 ]; then + echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" + exit 1 + fi +done + +printf " enabling power-profiles-daemon...\n" +sudo systemctl enable power-profiles-daemon 2>&1 | tee -a "$LOG" + # Function to handle the installation and log messages install_and_log() { local project_name="$1"