diff options
author | UltimateOmega <[email protected]> | 2021-07-27 02:56:37 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-26 18:26:37 -0400 |
commit | cb108adec4799dd592b9bf436247bf98ad56807a (patch) | |
tree | ed320b23d183b6f1baf5cd255a4826227d7002cb /utils/installer/install.sh | |
parent | 79ff1548dd74f5cb7297a9f0e08e50a4531458b5 (diff) |
[General] Create lvim.desktop (#1123)
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-x | utils/installer/install.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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' |