updated thunar and preset.sh

This commit is contained in:
JaKooLit 2024-09-20 18:51:13 +09:00
parent 10a1e9142d
commit f99474f81f
2 changed files with 3 additions and 3 deletions

View File

@ -35,9 +35,9 @@ printf "${NOTE} Installing Thunar Packages...\n"
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
read -p "${CAT} Do you want to set Thunar as the default file manager? (y/n): " thunar_default
if [[ "$choice" == [Yy] ]]; then
if [[ "$thunar_default" == [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

View File

@ -34,7 +34,7 @@ dots="Y"
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): "
choice="Y"
thunar_default="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"