installalacritty: update desktop database

This commit is contained in:
Rob Watson 2021-06-22 04:20:16 +02:00
parent 4a8dc1f1ea
commit a9fce8a6ff
1 changed files with 8 additions and 0 deletions

View File

@ -46,4 +46,12 @@ echo "Installing ZSH completions..."
funcdir=$ZDOTDIR/functions
mkdir -p $funcdir
cp $destdir/extra/completions/_alacritty $funcdir/_alacritty
if [ $(uname -s) = "Linux" ]; then
# TODO: fix for Manjaro/xfce4:
sudo cp $destdir/extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
sudo desktop-file-install $destdir/extra/linux/Alacritty.desktop
sudo update-desktop-database
fi
echo "Done"