Add light wallpaper

This commit is contained in:
Anthony Rose 2024-06-05 12:38:18 +01:00
parent f5d39d54d1
commit 3e3ca258c8
4 changed files with 19 additions and 5 deletions

View file

@ -144,8 +144,8 @@ set_misc_preferences () {
# Remove the wallpaper. # Remove the wallpaper.
gsettings set org.gnome.desktop.background color-shading-type 'solid' 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-options 'zoom'
gsettings set org.gnome.desktop.background picture-uri "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.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 primary-color '#101010'
gsettings set org.gnome.desktop.background secondary-color '#101010' gsettings set org.gnome.desktop.background secondary-color '#101010'

View file

@ -0,0 +1,5 @@
<svg version="1.1"
width="20" height="20"
xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#101010" />
</svg>

After

Width:  |  Height:  |  Size: 148 B

View file

@ -0,0 +1,5 @@
<svg version="1.1"
width="20" height="20"
xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#008080" />
</svg>

After

Width:  |  Height:  |  Size: 148 B

View file

@ -63,7 +63,11 @@
ansible.builtin.copy: ansible.builtin.copy:
src: "picom.conf" src: "picom.conf"
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/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: ansible.builtin.copy:
src: "wallpaper.svg" src: "wallpaper-light.svg"
dest: "{{ ansible_env.XDG_DATA_HOME }}/wallpaper.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"