36 lines
848 B
YAML
36 lines
848 B
YAML
- name: Enable boot splash screen
|
|
become: true
|
|
shell: "raspi-config nonint get_boot_splash && raspi-config nonint do_boot_splash 0"
|
|
register: boot_splash
|
|
changed_when:
|
|
- boot_splash == "1"
|
|
|
|
- name: Disable color splash
|
|
become: true
|
|
community.general.ini_file:
|
|
path: /boot/firmware/config.txt
|
|
option: disable_splash
|
|
value: 1
|
|
no_extra_spaces: true
|
|
|
|
- name: Change splash image
|
|
become: true
|
|
copy:
|
|
src: splash.png
|
|
dest: /usr/share/plymouth/themes/pix/splash.png
|
|
|
|
- name: Remove desktop bloat
|
|
become: true
|
|
apt:
|
|
name:
|
|
- gvfs
|
|
- gnome-keyring
|
|
- cups
|
|
state: absent
|
|
|
|
- name: Switch to wayfire
|
|
become: true
|
|
shell: "raspi-config nonint is_wayfire && raspi-config nonint do_wayland W2"
|
|
register: result
|
|
failed_when: ( result.rc not in [ 0, 1 ] )
|
|
changed_when: ( result.rc == 1 )
|