From 2fbfecd07a0c92779c996bcde889661c00dc9123 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 17 Jul 2025 19:28:58 +0900 Subject: [PATCH 1/8] 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" From 5a3895682da3b1c680d0b5f4bf70633e710c9bf5 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 17 Jul 2025 20:45:44 +0900 Subject: [PATCH 2/8] added to ran quickshell on qs script --- install-scripts/quickshell.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-scripts/quickshell.sh b/install-scripts/quickshell.sh index 2291abb..30a3bb2 100755 --- a/install-scripts/quickshell.sh +++ b/install-scripts/quickshell.sh @@ -35,4 +35,7 @@ for PKG1 in "${quick[@]}"; do install_package "$PKG1" "$LOG" done +# starting quickshell so KooL Hyprland Dots Quickshell config can be copied +qs || true + printf "\n%.0s" {1..1} \ No newline at end of file From deb545e3b19a01496a1c2b258d75507e32188ff0 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 17 Jul 2025 22:19:42 +0900 Subject: [PATCH 3/8] updated quickshell script --- install-scripts/quickshell.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/install-scripts/quickshell.sh b/install-scripts/quickshell.sh index 30a3bb2..2291abb 100755 --- a/install-scripts/quickshell.sh +++ b/install-scripts/quickshell.sh @@ -35,7 +35,4 @@ for PKG1 in "${quick[@]}"; do install_package "$PKG1" "$LOG" done -# starting quickshell so KooL Hyprland Dots Quickshell config can be copied -qs || true - printf "\n%.0s" {1..1} \ No newline at end of file From f185af7389323198a514a62af60735bb65c04f29 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 19 Jul 2025 16:48:07 +0900 Subject: [PATCH 4/8] added cleaning up of ags --- install-scripts/quickshell.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/install-scripts/quickshell.sh b/install-scripts/quickshell.sh index 2291abb..fb80751 100755 --- a/install-scripts/quickshell.sh +++ b/install-scripts/quickshell.sh @@ -29,10 +29,22 @@ fi 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}" +printf "\n%s - Installing ${SKY_BLUE}Quick Shell ${RESET} for Desktop Overview \n" "${NOTE}" for PKG1 in "${quick[@]}"; do 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 + +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 From 3b2281568c878c585bbdad448e9da35fbdde9941 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 20 Jul 2025 16:10:53 +0900 Subject: [PATCH 5/8] some code cleanup and test if the feed is working to Discord Server --- install-scripts/fonts.sh | 1 - preset.sh | 48 ---------------------------------------- 2 files changed, 49 deletions(-) delete mode 100644 preset.sh diff --git a/install-scripts/fonts.sh b/install-scripts/fonts.sh index 6934be1..786a40a 100755 --- a/install-scripts/fonts.sh +++ b/install-scripts/fonts.sh @@ -19,7 +19,6 @@ fonts=( noto-fonts ) - ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" diff --git a/preset.sh b/preset.sh deleted file mode 100644 index cc6f032..0000000 --- a/preset.sh +++ /dev/null @@ -1,48 +0,0 @@ -# 💫 https://github.com/JaKooLit 💫 # - -# Define the options you want to preselect (either ON or OFF) -# IMPORTANT: answer should be inside "" - -### Script will install nvidia-dkms nvidia-utils & nvidia-settings -###-Would you like script to Configure NVIDIA for you? -nvidia="OFF" -### Would you like to blacklist nouveau? (y/n) -nouveau="OFF" - -###-Install GTK themes (required for Dark/Light function)? -gtk_themes="ON" - -###-Do you want to configure Bluetooth? -bluetooth="ON" - -###-Do you want to install Thunar file manager? -thunar="ON" - -### Adding user to the 'input' group might be necessary for waybar keyboard-state functionality -input_group="ON" - -### Desktop overview Demo Link in README -### Desktop overview Demo Link in README -### Install AGS (aylur's GTK shell) v1 for Desktop-Like Overview?" -ags="ON" - -###-Install & configure SDDM log-in Manager -sddm="ON" -### install and download SDDM themes -sddm_theme="ON" - -###-Install XDG-DESKTOP-PORTAL-HYPRLAND? (For proper Screen Share ie OBS) -xdph="ON" - -### Shell extension. Bash alternative -###-Install zsh, oh-my-zsh -zsh="ON" -### add Pokemon color scripts to terminal -pokemon="ON" - -### This will install ASUSCTL & SUPERGFXCTL -###-Installing on Asus ROG Laptops? -rog="OFF" - -###-Download and Add pre-configured Hyprland dotfiles? -dots="ON" From 47836c2fb93bca27ab37a693df733c21d90dfec5 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 22 Jul 2025 13:07:12 +0900 Subject: [PATCH 6/8] Preparation for the new SDDM theme simple sddm updated version --- CHANGELOGS.md | 3 +++ install-scripts/sddm.sh | 5 +++-- install-scripts/sddm_theme.sh | 17 +++++++++++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/CHANGELOGS.md b/CHANGELOGS.md index 9e34675..d227474 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,8 @@ ## CHANGELOGS +## 22 July 2025 +- Updated sddm theme and script to work with the updated simple_sddm_2 theme + ## 17 July 2025 - added quickshell script to replace ags for desktop overview diff --git a/install-scripts/sddm.sh b/install-scripts/sddm.sh index 2439b72..0e709cd 100755 --- a/install-scripts/sddm.sh +++ b/install-scripts/sddm.sh @@ -2,10 +2,11 @@ # 💫 https://github.com/JaKooLit 💫 # # SDDM Log-in Manager # -sddm=( - qt6-5compat +sddm=( qt6-declarative qt6-svg + qt6-virtualkeyboard + qt6-multimedia-ffmpeg sddm ) diff --git a/install-scripts/sddm_theme.sh b/install-scripts/sddm_theme.sh index 1669d9e..9f106af 100755 --- a/install-scripts/sddm_theme.sh +++ b/install-scripts/sddm_theme.sh @@ -52,7 +52,6 @@ if git clone --depth=1 "$source_theme" "$theme_name"; then # Move cloned theme to the themes directory sudo mv "$theme_name" "/usr/share/sddm/themes/$theme_name" 2>&1 | tee -a "$LOG" - # setting up SDDM theme sddm_conf="/etc/sddm.conf" BACKUP_SUFFIX=".bak" @@ -86,6 +85,21 @@ if git clone --depth=1 "$source_theme" "$theme_name"; then echo "Added [Theme] section with Current=$theme_name in $sddm_conf" | tee -a "$LOG" fi + # Add [General] section with InputMethod=qtvirtualkeyboard if it doesn't exist + if ! grep -q '^\[General\]' "$sddm_conf"; then + echo -e "\n[General]\nInputMethod=qtvirtualkeyboard" | sudo tee -a "$sddm_conf" > /dev/null + echo "Added [General] section with InputMethod=qtvirtualkeyboard in $sddm_conf" | tee -a "$LOG" + else + # Update InputMethod line if section exists + if grep -q '^\s*InputMethod=' "$sddm_conf"; then + sudo sed -i '/^\[General\]/,/^\[/{s/^\s*InputMethod=.*/InputMethod=qtvirtualkeyboard/}' "$sddm_conf" 2>&1 | tee -a "$LOG" + echo "Updated InputMethod to qtvirtualkeyboard in $sddm_conf" | tee -a "$LOG" + else + sudo sed -i '/^\[General\]/a InputMethod=qtvirtualkeyboard' "$sddm_conf" 2>&1 | tee -a "$LOG" + echo "Appended InputMethod=qtvirtualkeyboard under [General] in $sddm_conf" | tee -a "$LOG" + fi + fi + # Replace current background from assets sudo cp -r assets/sddm.png "/usr/share/sddm/themes/$theme_name/Backgrounds/default" 2>&1 | tee -a "$LOG" sudo sed -i 's|^wallpaper=".*"|wallpaper="Backgrounds/default"|' "/usr/share/sddm/themes/$theme_name/theme.conf" 2>&1 | tee -a "$LOG" @@ -97,5 +111,4 @@ else echo "${ERROR} - Failed to clone the sddm theme repository. Please check your internet connection." | tee -a "$LOG" >&2 fi - printf "\n%.0s" {1..2} \ No newline at end of file From 78aa1dbcb265a3416436c2a883a7093b303313d4 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 25 Jul 2025 01:22:20 +0900 Subject: [PATCH 7/8] updated sddm_theme.sh --- install-scripts/sddm_theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-scripts/sddm_theme.sh b/install-scripts/sddm_theme.sh index 9f106af..efd5c15 100755 --- a/install-scripts/sddm_theme.sh +++ b/install-scripts/sddm_theme.sh @@ -104,7 +104,7 @@ if git clone --depth=1 "$source_theme" "$theme_name"; then sudo cp -r assets/sddm.png "/usr/share/sddm/themes/$theme_name/Backgrounds/default" 2>&1 | tee -a "$LOG" sudo sed -i 's|^wallpaper=".*"|wallpaper="Backgrounds/default"|' "/usr/share/sddm/themes/$theme_name/theme.conf" 2>&1 | tee -a "$LOG" - echo "${OK} - ${MAGENTA}Additional SDDM Theme${RESET} successfully installed." | tee -a "$LOG" + echo "${OK} - ${MAGENTA}Additional ${YELLOW}$theme_name${RESET} SDDM Theme${RESET} successfully installed." | tee -a "$LOG" else From d26c9e30bd0b78d633a80d65e451d613bd924f2e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 25 Jul 2025 17:13:16 +0900 Subject: [PATCH 8/8] minor sddm theme update --- install-scripts/sddm_theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-scripts/sddm_theme.sh b/install-scripts/sddm_theme.sh index efd5c15..2beedf5 100755 --- a/install-scripts/sddm_theme.sh +++ b/install-scripts/sddm_theme.sh @@ -104,7 +104,7 @@ if git clone --depth=1 "$source_theme" "$theme_name"; then sudo cp -r assets/sddm.png "/usr/share/sddm/themes/$theme_name/Backgrounds/default" 2>&1 | tee -a "$LOG" sudo sed -i 's|^wallpaper=".*"|wallpaper="Backgrounds/default"|' "/usr/share/sddm/themes/$theme_name/theme.conf" 2>&1 | tee -a "$LOG" - echo "${OK} - ${MAGENTA}Additional ${YELLOW}$theme_name${RESET} SDDM Theme${RESET} successfully installed." | tee -a "$LOG" + echo "${OK} - ${MAGENTA}Additional ${YELLOW}$theme_name SDDM Theme${RESET} successfully installed." | tee -a "$LOG" else