Auto-install arch/gnome wallpaper
Some checks failed
Lint / Lint (3.10) (push) Failing after 18s
Lint / Lint (3.11) (push) Failing after 22s

This commit is contained in:
Ariejan de Vroom 2024-06-10 10:54:38 +02:00
parent 4ec9283994
commit 9a6fb39e06
Signed by: ariejan
GPG Key ID: AD739154F713697B
3 changed files with 13 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

View File

@ -22,3 +22,6 @@
- name: Install GNOME Extensions - name: Install GNOME Extensions
ansible.builtin.import_tasks: gnome-extensions.yml ansible.builtin.import_tasks: gnome-extensions.yml
- name: Setup a wallpaper
ansible.builtin.import_tasks: wallpaper.yml

View File

@ -0,0 +1,10 @@
---
- name: Copy wallpaper file
copy:
src: arch-matrix.jpg
dest: "/home/{{ user.name }}/.local/share/backgrounds/arch-matrix.jpg"
- name: Set GNOME wallpaper
become_user: "{{ user.name }}"
dconf: key="/org/gnome/desktop/background/picture-uri" value="'/home/{{ user.name }}/.local/share/backgrounds/arch-matrix.jpg'"