diff --git a/install-scripts/InputGroup.sh b/install-scripts/InputGroup.sh index f0a4d1c..0aba454 100755 --- a/install-scripts/InputGroup.sh +++ b/install-scripts/InputGroup.sh @@ -22,7 +22,9 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_input.log" while true; do echo "${WARN} This script will add your user to the 'input' group." echo "${NOTE} Please note that adding yourself to the 'input' group might be necessary for waybar keyboard-state functionality." - + + printf "\n%.0s" {1..1} + if [[ -z $input_group_choid ]]; then read -p "${YELLOW}Do you want to proceed? (y/n): ${RESET}" input_group_choid fi diff --git a/install-scripts/sddm.sh b/install-scripts/sddm.sh index 5a8d0d2..84441af 100755 --- a/install-scripts/sddm.sh +++ b/install-scripts/sddm.sh @@ -52,6 +52,8 @@ sddm_conf_dir=/etc/sddm.conf.d wayland_sessions_dir=/usr/share/wayland-sessions [ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; } + +printf "\n%.0s" {1..2} # SDDM-themes valid_input=false diff --git a/install-scripts/thunar.sh b/install-scripts/thunar.sh index 3e35e24..e9aead5 100755 --- a/install-scripts/thunar.sh +++ b/install-scripts/thunar.sh @@ -32,6 +32,20 @@ printf "${NOTE} Installing Thunar Packages...\n" [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $THUNAR Package installation failed, Please check the installation logs"; exit 1; } done +printf "\n%.0s" {1..2} + +# Ask the user if they want to use Thunar as the default file manager +read -p "${CAT} Do you want to set Thunar as the default file manager? (y/n): " choice + +if [[ "$choice" == [Yy] ]]; then + # Setting Thunar as the default file manager + xdg-mime default thunar.desktop inode/directory + xdg-mime default thunar.desktop application/x-wayland-gnome-saved-search + echo "${OK} Thunar has been set as the default file manager." 2>&1 | tee -a "$LOG" +else + echo "${NOTE} you choose not to set Thunar file manager." 2>&1 | tee -a "$LOG" +fi + # Check for existing configs and copy if does not exist for DIR1 in gtk-3.0 Thunar xfce4; do DIRPATH=~/.config/$DIR1 diff --git a/install-scripts/xdph.sh b/install-scripts/xdph.sh index 73366a6..eb1abbb 100755 --- a/install-scripts/xdph.sh +++ b/install-scripts/xdph.sh @@ -32,14 +32,13 @@ for xdgs in "${xdg[@]}"; do exit 1 fi done - -printf "\n" printf "${NOTE} Checking for other XDG-Desktop-Portal-Implementations....\n" sleep 1 printf "\n" printf "${NOTE} XDG-desktop-portal-KDE & GNOME (if installed) should be manually disabled or removed! I can't remove it... sorry...\n" while true; do + printf "\n%.0s" {1..2} if [[ -z $XDPH1 ]]; then read -rp "${CAT} Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n) " XDPH1 fi