From f99474f81fb7175f657f5e6f61276762e79b815a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 20 Sep 2024 18:51:13 +0900 Subject: [PATCH] updated thunar and preset.sh --- install-scripts/thunar.sh | 4 ++-- preset.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install-scripts/thunar.sh b/install-scripts/thunar.sh index e9aead5..4d72b75 100755 --- a/install-scripts/thunar.sh +++ b/install-scripts/thunar.sh @@ -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 diff --git a/preset.sh b/preset.sh index 84b4552..d285c3d 100644 --- a/preset.sh +++ b/preset.sh @@ -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"