diff --git a/roles/home-gui/files/gnome-setup.sh b/roles/home-gui/files/gnome-setup.sh index 85400f7..8c06846 100644 --- a/roles/home-gui/files/gnome-setup.sh +++ b/roles/home-gui/files/gnome-setup.sh @@ -144,8 +144,8 @@ set_misc_preferences () { # Remove the wallpaper. gsettings set org.gnome.desktop.background color-shading-type 'solid' gsettings set org.gnome.desktop.background picture-options 'zoom' - gsettings set org.gnome.desktop.background picture-uri "file://$XDG_DATA_HOME/wallpaper.svg" - gsettings set org.gnome.desktop.background picture-uri-dark "file://$XDG_DATA_HOME/wallpaper.svg" + gsettings set org.gnome.desktop.background picture-uri "file://$XDG_DATA_HOME/wallpaper-light.svg" + gsettings set org.gnome.desktop.background picture-uri-dark "file://$XDG_DATA_HOME/wallpaper-dark.svg" gsettings set org.gnome.desktop.background primary-color '#101010' gsettings set org.gnome.desktop.background secondary-color '#101010' diff --git a/roles/home-gui/files/wallpaper-dark.svg b/roles/home-gui/files/wallpaper-dark.svg new file mode 100644 index 0000000..b1c0b7a --- /dev/null +++ b/roles/home-gui/files/wallpaper-dark.svg @@ -0,0 +1,5 @@ + + + diff --git a/roles/home-gui/files/wallpaper-light.svg b/roles/home-gui/files/wallpaper-light.svg new file mode 100644 index 0000000..d3b6e2f --- /dev/null +++ b/roles/home-gui/files/wallpaper-light.svg @@ -0,0 +1,5 @@ + + + diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index 32a07a5..3fb05fe 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -63,7 +63,11 @@ ansible.builtin.copy: src: "picom.conf" dest: "{{ ansible_env.XDG_CONFIG_HOME }}/picom.conf" -- name: Create $XDG_DATA_HOME/wallpaper.svg +- name: Create $XDG_DATA_HOME/wallpaper-light.svg ansible.builtin.copy: - src: "wallpaper.svg" - dest: "{{ ansible_env.XDG_DATA_HOME }}/wallpaper.svg" + src: "wallpaper-light.svg" + dest: "{{ ansible_env.XDG_DATA_HOME }}/wallpaper-light.svg" +- name: Create $XDG_DATA_HOME/wallpaper-dark.svg + ansible.builtin.copy: + src: "wallpaper-dark.svg" + dest: "{{ ansible_env.XDG_DATA_HOME }}/wallpaper-dark.svg"