move a lot of configuration around

This commit is contained in:
Matthew Stobbs
2025-02-11 20:22:42 -07:00
parent 275f5df722
commit 6d52cc6a4d
33 changed files with 180 additions and 117 deletions

32
tasks/src/neovide.yml Normal file
View File

@@ -0,0 +1,32 @@
# vim: set filetype=yaml.ansible :
---
- ansible.builtin.set_fact:
neovide_cargoversioned:
name: neovide
version: "{{ pkgconfig_neovide.version }}"
path: "{{ pkgconfig_neovide.install_prefix }}"
- ansible.builtin.set_fact:
cargoversioned: "{{ cargoversioned + [neovide_cargoversioned] }}"
- name: ensure directories exist
ansible.builtin.file:
state: directory
path: "{{ pkgconfig_neovide.install_prefix }}/{{ _dir }}"
become: true
loop:
- share/icons
- share/applications
loop_control:
loop_var: _dir
- name: Copy neovide icon
become: true
ansible.builtin.copy:
src: neovide/icon.png
dest: "{{ pkgconfig_neovide.install_prefix }}/share/icons/neovide.png"
- name: Copy neovide.desktop
become: true
ansible.builtin.template:
src: neovide/neovide.desktop
dest: "{{ pkgconfig_neovide.install_prefix }}/share/applications/neovide.desktop"