diff --git a/roles/08_tweaks/files/arch-matrix.jpg b/roles/08_tweaks/files/arch-matrix.jpg new file mode 100644 index 0000000..70bc319 Binary files /dev/null and b/roles/08_tweaks/files/arch-matrix.jpg differ diff --git a/roles/08_tweaks/tasks/main.yml b/roles/08_tweaks/tasks/main.yml index 3598e57..ba569bb 100644 --- a/roles/08_tweaks/tasks/main.yml +++ b/roles/08_tweaks/tasks/main.yml @@ -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 diff --git a/roles/08_tweaks/tasks/wallpaper.yml b/roles/08_tweaks/tasks/wallpaper.yml new file mode 100644 index 0000000..d0238e6 --- /dev/null +++ b/roles/08_tweaks/tasks/wallpaper.yml @@ -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'" + \ No newline at end of file