Add gvim-coc.desktop launcher
This commit is contained in:
parent
2e3c599014
commit
219d8e99db
2 changed files with 17 additions and 0 deletions
13
roles/home-gui/files/gvim-coc.desktop
Normal file
13
roles/home-gui/files/gvim-coc.desktop
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=GVim COC
|
||||||
|
GenericName=Text Editor and IDE
|
||||||
|
Comment=GVim with COC enabled
|
||||||
|
TryExec=gvim
|
||||||
|
Exec=env VIMCOC=yes gvim -f %F
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Keywords=Text;editor;
|
||||||
|
Icon=gvim
|
||||||
|
Categories=Utility;TextEditor;
|
||||||
|
StartupNotify=true
|
||||||
|
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
|
@ -59,3 +59,7 @@
|
||||||
dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium-browser.desktop"
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium-browser.desktop"
|
||||||
vars:
|
vars:
|
||||||
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
||||||
|
- name: Add GVim COC launcher
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: gvim-coc.desktop
|
||||||
|
dest: "{{ ansible_env.HOME }}/.local/share/applications/gvim-coc.desktop"
|
||||||
|
|
Loading…
Reference in a new issue