diff --git a/install-scripts/thunar.sh b/install-scripts/thunar.sh index b33c46c..12e40b9 100755 --- a/install-scripts/thunar.sh +++ b/install-scripts/thunar.sh @@ -39,7 +39,7 @@ printf "${NOTE} Installing ${BLUE}Thunar${RESET} Packages...\n\n" printf "\n%.0s" {1..2} # confirm if wanted to set as default -read -p "${CAT} Do you want to set ${MAGENTA}Thunar${RESET} as the default file manager? (y/n): " thundefault +read -n1 -rep "${CAT} Do you want to set ${MAGENTA}Thunar${RESET} as the default file manager? (y/n): " thundefault if [[ "$thundefault" == [Yy] ]]; then xdg-mime default thunar.desktop inode/directory diff --git a/preset.sh b/preset.sh index f90b6f2..08f7f2b 100644 --- a/preset.sh +++ b/preset.sh @@ -37,9 +37,6 @@ blacklist_nouveau="Y" # Ask the user if they want to use Thunar as the default file manager # Do you want to set Thunar as the default file manager? (y/n): " thundefault="Y" -### XDG-desktop-portal-KDE & GNOME (if installed) should be manually disabled or removed! Script cant remove nor disable it. -### Would you like to try to remove other XDG-Desktop-Portal-Implementations? (y/n) -XDPH1="Y" ### OPTIONAL - Would you like to install SDDM themes? (y/n) install_sddm_theme="Y" ### " This script will add your user to the 'input' group."