Skip to content

Commit

Permalink
updated thunar and preset.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JaKooLit committed Sep 20, 2024
1 parent 10a1e91 commit f99474f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions install-scripts/thunar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion preset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f99474f

Please sign in to comment.