I think I found the fix on the Thunar making default when use preset.sh
This commit is contained in:
@@ -39,9 +39,9 @@ printf "${NOTE} Installing ${BLUE}Thunar${RESET} Packages...\n\n"
|
|||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|
||||||
# confirm if wanted to set as default
|
# confirm if wanted to set as default
|
||||||
read -n1 -rep "${CAT} Do you want to set ${MAGENTA}Thunar${RESET} as the default file manager? (y/n): " thundefault
|
read -n1 -rep "${CAT} set ${MAGENTA}Thunar${RESET} as the default file manager? (y/n): " thundefault
|
||||||
|
|
||||||
if [[ "$thundefault" == [Yy] ]]; then
|
if [[ "$thundefault" == ^[Yy]$ ]]; then
|
||||||
xdg-mime default thunar.desktop inode/directory
|
xdg-mime default thunar.desktop inode/directory
|
||||||
xdg-mime default thunar.desktop application/x-wayland-gnome-saved-search
|
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"
|
echo "${OK} Thunar has been set as the default file manager." 2>&1 | tee -a "$LOG"
|
||||||
|
|||||||
Reference in New Issue
Block a user