Auto-install arch/gnome wallpaper
This commit is contained in:
parent
4ec9283994
commit
9a6fb39e06
BIN
roles/08_tweaks/files/arch-matrix.jpg
Normal file
BIN
roles/08_tweaks/files/arch-matrix.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 128 KiB |
|
@ -22,3 +22,6 @@
|
|||
|
||||
- name: Install GNOME Extensions
|
||||
ansible.builtin.import_tasks: gnome-extensions.yml
|
||||
|
||||
- name: Setup a wallpaper
|
||||
ansible.builtin.import_tasks: wallpaper.yml
|
||||
|
|
10
roles/08_tweaks/tasks/wallpaper.yml
Normal file
10
roles/08_tweaks/tasks/wallpaper.yml
Normal 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'"
|
||||
|
Loading…
Reference in New Issue
Block a user