mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Set fixed wallpaper for Noctalia via wallpapers.json cache
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"defaultWallpaper": "/etc/xdg/quickshell/noctalia-shell/Assets/Wallpaper/noctalia.png",
|
||||
"usedRandomWallpapers": {},
|
||||
"wallpapers": {
|
||||
"": {
|
||||
"dark": "{{ noctalia_wallpaper }}",
|
||||
"light": "{{ noctalia_wallpaper }}"
|
||||
},
|
||||
"DP-1": {
|
||||
"dark": "{{ noctalia_wallpaper }}",
|
||||
"light": "{{ noctalia_wallpaper }}"
|
||||
},
|
||||
"eDP-1": {
|
||||
"dark": "{{ noctalia_wallpaper }}",
|
||||
"light": "{{ noctalia_wallpaper }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user