From cb108adec4799dd592b9bf436247bf98ad56807a Mon Sep 17 00:00:00 2001 From: UltimateOmega <16052180+UltimateOmega@users.noreply.github.com> Date: Tue, 27 Jul 2021 02:56:37 +0430 Subject: [General] Create lvim.desktop (#1123) --- utils/installer/install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'utils/installer/install.sh') diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 3d7fcc33..5778fb3a 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -226,5 +226,14 @@ else # echo 'export PATH=$HOME/.config/lunarvim/utils/bin:$PATH' >>~/.bashrc fi +if [ "$(uname)" != "Darwin" ]; then + if [ -e "$HOME/.local/share/applications/lvim.desktop" ]; then + echo 'Desktop file already available' + else + mkdir -p "$HOME/.local/share/applications" + cp "$HOME/.local/share/lunarvim/lvim/utils/desktop/lvim.desktop" "$HOME/.local/share/applications/lvim.desktop" + fi +fi + echo "I recommend you also install and activate a font from here: https://github.com/ryanoasis/nerd-fonts" # echo 'export PATH=/home/$USER/.config/lunarvim/utils/bin:$PATH appending to zshrc/bashrc' -- cgit v1.2.3