From aa140acf698cedc5e557b49abe4079f690248c1e Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sun, 2 Nov 2025 23:04:57 -0500 Subject: [PATCH] Don't remove AGS when installing quickshell Might need as backup when QS has issues. The Hyprland DOTS now use a wrapper script to determine which to use for overview On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: quickshell.sh --- install-scripts/quickshell.sh | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/install-scripts/quickshell.sh b/install-scripts/quickshell.sh index fb80751..92b041f 100755 --- a/install-scripts/quickshell.sh +++ b/install-scripts/quickshell.sh @@ -7,15 +7,18 @@ if [[ $USE_PRESET = [Yy] ]]; then fi quick=( - quickshell + quickshell ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # Change the working directory to the parent directory of the script PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || { echo "${ERROR} Failed to change directory to $PARENT_DIR"; exit 1; } +cd "$PARENT_DIR" || { + echo "${ERROR} Failed to change directory to $PARENT_DIR" + exit 1 +} # Source the global functions script if ! source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"; then @@ -23,8 +26,6 @@ if ! source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"; then exit 1 fi - - # Set the name of the log file to include the current date and time LOG="Install-Logs/install-$(date +%d-%H%M%S)_quick.log" @@ -32,19 +33,8 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_quick.log" printf "\n%s - Installing ${SKY_BLUE}Quick Shell ${RESET} for Desktop Overview \n" "${NOTE}" for PKG1 in "${quick[@]}"; do - install_package "$PKG1" "$LOG" + install_package "$PKG1" "$LOG" done -# removal of ags -# Check if the file exists and remove it -printf "\n%s - removing ${SKY_BLUE}AGS${RESET} \n" "${NOTE}" -if [ -f "/usr/local/bin/ags" ]; then - sudo rm -r /usr/local/bin/ags -fi +printf "\n%.0s" {1..1} -if [ -d "/usr/local/share/com.github.Aylur.ags" ]; then - sudo rm -rf /usr/local/share/com.github.Aylur.ags -fi - - -printf "\n%.0s" {1..1} \ No newline at end of file