From a9fce8a6ff3f150cde4dffc9654a72573c00e9c7 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 22 Jun 2021 04:20:16 +0200 Subject: [PATCH] installalacritty: update desktop database --- script/installalacritty | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/installalacritty b/script/installalacritty index 298af40..16f1a53 100755 --- a/script/installalacritty +++ b/script/installalacritty @@ -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"