From 2fbfecd07a0c92779c996bcde889661c00dc9123 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 17 Jul 2025 19:28:58 +0900 Subject: [PATCH] added quickshell script to replace ags for desktop overview --- CHANGELOGS.md | 3 +++ install-scripts/quickshell.sh | 38 +++++++++++++++++++++++++++++++++++ install.sh | 12 +++++------ uninstall.sh | 5 +++-- 4 files changed, 50 insertions(+), 8 deletions(-) create mode 100755 install-scripts/quickshell.sh diff --git a/CHANGELOGS.md b/CHANGELOGS.md index edbd839..9e34675 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,8 @@ ## CHANGELOGS +## 17 July 2025 +- added quickshell script to replace ags for desktop overview + ## 08 June 2025 - updated SDDM theme. diff --git a/install-scripts/quickshell.sh b/install-scripts/quickshell.sh new file mode 100755 index 0000000..2291abb --- /dev/null +++ b/install-scripts/quickshell.sh @@ -0,0 +1,38 @@ +#!/bin/bash +# 💫 https://github.com/JaKooLit 💫 # +# quickshell - for desktop overview replacing AGS + +if [[ $USE_PRESET = [Yy] ]]; then + source ./preset.sh +fi + +quick=( + 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 )" + +# 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; } + +# Source the global functions script +if ! source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"; then + echo "Failed to source Global_functions.sh" + 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" + +# Installation of main components +printf "\n%s - Installing ${SKY_BLUE}Quick Shell $ags_tag${RESET} for Desktop Overview \n" "${NOTE}" + +for PKG1 in "${quick[@]}"; do + install_package "$PKG1" "$LOG" +done + +printf "\n%.0s" {1..1} \ No newline at end of file diff --git a/install.sh b/install.sh index 6bd97b6..eed7456 100755 --- a/install.sh +++ b/install.sh @@ -125,7 +125,7 @@ execute_script() { gtk_themes="OFF" bluetooth="OFF" thunar="OFF" -ags="OFF" +quickshell="OFF" sddm="OFF" sddm_theme="OFF" xdph="OFF" @@ -259,10 +259,10 @@ fi # Add the remaining static options options_command+=( - "gtk_themes" "Install GTK themes (required for Dark/Light function)" "OFF" + "gtk_themes" "Install GTK themes? (required for Dark/Light function)" "OFF" "bluetooth" "Do you want script to configure Bluetooth?" "OFF" "thunar" "Do you want Thunar file manager to be installed?" "OFF" - "ags" "Install AGS v1 for Desktop-Like Overview" "OFF" + "quickshell" "Install quickshell for Desktop-Like Overview?" "OFF" "xdph" "Install XDG-DESKTOP-PORTAL-HYPRLAND (for screen share)?" "OFF" "zsh" "Install zsh shell with Oh-My-Zsh?" "OFF" "pokemon" "Add Pokemon color scripts to your terminal?" "OFF" @@ -404,9 +404,9 @@ for option in "${options[@]}"; do echo "${INFO} Adding user into ${SKY_BLUE}input group...${RESET}" | tee -a "$LOG" execute_script "InputGroup.sh" ;; - ags) - echo "${INFO} Installing ${SKY_BLUE}AGS v1 for Desktop Overview...${RESET}" | tee -a "$LOG" - execute_script "ags.sh" + quickshell) + echo "${INFO} Installing ${SKY_BLUE}quickshell for Desktop Overview...${RESET}" | tee -a "$LOG" + execute_script "quickshell.sh" ;; xdph) echo "${INFO} Installing ${SKY_BLUE}xdg-desktop-portal-hyprland...${RESET}" | tee -a "$LOG" diff --git a/uninstall.sh b/uninstall.sh index 870c7a1..b900f81 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -106,9 +106,10 @@ packages=( "pavucontrol" "pavucontrol" "off" "playerctl" "playerctl" "off" "pyprland" "pyprland" "off" - "qalculate-gtk" "calculater - QT" "off" + "qalculate-gtk" "calculator - QT" "off" "qt5ct" "qt5ct" "off" "qt6ct" "qt6ct" "off" + "quickshell" "quickshell" "off" "rofi-wayland" "rofi-wayland" "off" "slurp" "screenshot tool" "off" "swappy" "screenshot tool" "off" @@ -134,13 +135,13 @@ packages=( # Define the list of directories to choose from (with options_command tags) directories=( - "ags" "AGS desktop overview configuration" "off" "btop" "btop configuration" "off" "cava" "cava configuration" "off" "fastfetch" "fastfetch configuration" "off" "hypr" "main hyprland configuration" "off" "kitty" "kitty terminal configuration" "off" "Kvantum" "Kvantum-manager configuration" "off" + "quickshell" "quickshell desktop overview configuration" "off" "qt5ct" "qt5ct configuration" "off" "qt6ct" "qt6ct configuration" "off" "rofi" "rofi configuration" "off"