clean up, refactor, documentation

- reducing amount of splitting in configs
- documenting configuration
This commit is contained in:
Matthew Stobbs
2025-01-24 23:23:24 -07:00
parent f8585192d5
commit 2f3690aded
34 changed files with 425 additions and 307 deletions

View File

@@ -1,8 +1,4 @@
---
- ansible.builtin.include_vars:
file: neovide.yml
name: _neovide
- name: build and install neovide
become: true
ansible.builtin.command:
@@ -10,20 +6,20 @@
- cargo
- install
- --root
- "{% if ansible_os_family != 'Linux' %}.{% else %}{{ _neovide.install_prefix }}"
- "{% if ansible_os_family != 'Linux' %}.{% else %}{{ pkgconfig.neovide.install_prefix }}"
- --git
- https://github.com/neovide/neovide.git
- "{{ pkgconfig.neovide.git_repo }}"
- --tag
- "{{ _neovide.version }}"
- "{{ pkgconfig.neovide.version }}"
- name: Copy neovide icon
become: true
ansible.builtin.copy:
src: neovide/icon.png
dest: "{{ _neovide.install_prefix }}/share/icons/neovide.png"
dest: "{{ pkgconfig.neovide.install_prefix }}/share/icons/neovide.png"
- name: Copy neovide.desktop
become: true
ansible.builtin.templatefile:
src: neovide/neovide.desktop
dest: "{{ _neovide.install_prefix }}/share/applications/neovide.desktop"
dest: "{{ pkgconfig.neovide.install_prefix }}/share/applications/neovide.desktop"