Set fixed wallpaper for Noctalia via wallpapers.json cache

This commit is contained in:
Fabio Scotto di Santolo
2026-04-23 23:17:49 +02:00
parent 8acd8204b9
commit 57a605587a
3 changed files with 40 additions and 0 deletions

View File

@@ -140,3 +140,19 @@
- polkit-agent
- screenshot
- usb-drive-manager
- name: Ensure Noctalia cache directory exists
ansible.builtin.file:
path: "{{ user_home }}/.cache/noctalia"
state: directory
owner: "{{ username }}"
group: "{{ user_group }}"
mode: "0755"
- name: Deploy Noctalia wallpapers cache
ansible.builtin.template:
src: wallpapers.json.j2
dest: "{{ user_home }}/.cache/noctalia/wallpapers.json"
owner: "{{ username }}"
group: "{{ user_group }}"
mode: "0644"