diff --git a/installFish.sh b/installFish.sh index 5ad6f18..f87f277 100644 --- a/installFish.sh +++ b/installFish.sh @@ -64,5 +64,15 @@ else # if regular distro (i.e. Ubuntu) fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" fi +# Removal of Ubuntu icon +if grep "Ubuntu" /proc/version > /dev/null; +then + # We remove the Ubuntu desktop shortcut only if it already exists + if [ -f /usr/share/applications/fish.desktop ] + then + sudo mv /usr/share/applications/fish.desktop /usr/share/applications/fish.desktop.bak + fi +fi + echo -e "\nFish configured! 🎉" echo "You must log out to finish applying the changes."