diff --git a/data/debian.jpg b/data/debian.jpg new file mode 100644 index 0000000..76fb249 Binary files /dev/null and b/data/debian.jpg differ diff --git a/data/savannah-landscape-with-acacia-trees.jpeg b/data/savannah-landscape-with-acacia-trees.jpeg deleted file mode 100644 index a480cc4..0000000 Binary files a/data/savannah-landscape-with-acacia-trees.jpeg and /dev/null differ diff --git a/playbooks/grub.yaml b/playbooks/grub.yaml new file mode 100644 index 0000000..fca0726 --- /dev/null +++ b/playbooks/grub.yaml @@ -0,0 +1,27 @@ +--- +- name: Set up grub env + vars: + variables: + - key: GRUB_GFXMODE + value: 1920x1080x32 + - key: GRUB_CMDLINE_LINUX_DEFAULT + value: '"quiet splash"' + hosts: localhost + connection: local + become: false + tasks: + - name: Set up environment variables + become: true + ansible.builtin.lineinfile: + path: /etc/default/grub + regex: ^{{ item.key }}= + line: "{{ item.key }}={{ item.value }}" + loop: "{{ variables }}" + - name: Update grub + become: true + ansible.builtin.command: + cmd: update-grub2 + - name: Set default theme + become: true + ansible.builtin.command: + cmd: plymouth-set-default-theme -R moonlight diff --git a/playbooks/sway.yaml b/playbooks/sway.yaml index 464524c..7ba4d99 100644 --- a/playbooks/sway.yaml +++ b/playbooks/sway.yaml @@ -3,7 +3,7 @@ vars: uid: "{{ lookup('env','USER') }}" TZ: "{{ lookup('env','TZ') }}" - wallpaper_path: /home/{{ uid }}/.config/wallpaper/savannah-landscape-with-acacia-trees.jpeg + wallpaper_path: /home/{{ uid }}/.config/wallpaper/debian.jpg hosts: localhost connection: local become: false @@ -52,12 +52,10 @@ ansible.builtin.file: dest: /home/{{ uid }}/.config/wallpaper state: directory - # Image by upklyak on Freepik - # https://www.freepik.com/free-vector/savannah-landscape-with-acacia-trees-night-vector-cartoon-illustration-african-savanna-with-full-moon-stars-dark-sky-concept-safari-vacation-trip-travel_25694514.htm - name: Setup wall paper ansible.builtin.copy: dest: '{{ wallpaper_path }}' - src: ../data/savannah-landscape-with-acacia-trees.jpeg + src: ../data/debian.jpg notify: Reload sway handlers: - name: Reload sway