I transferred the background images from NixOS gnome to usr/share/backgrounds/gnome/
. I created a NixOS.xml file. I can’t add it to gnome settings → appearance -->. The photos can be added separately. But not as a pair (night photo + day photo together). The xml file doesn’t work either.
google drive link for nixos backgrounds photos and nixos.xml file
NixOS.xml content:
<background>
<starttime>
<year>2024</year>
<month>10</month>
<day>22</day>
<hour>8</hour>
<minute>00</minute>
<second>00</second>
</starttime>
<!-- This animation will start at 8 AM. -->
<wallpapers>
<wallpaper>
<name>My NixOS Dynamic Wallpaper</name>
<filename>/usr/share/backgrounds/gnome/nixos.xml</filename>
<options>zoom</options>
</wallpaper>
</wallpapers>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/adwaita-l-1.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/adwaita-l-1.jxl</from>
<to>/usr/share/backgrounds/gnome/adwaita-d-1.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/amber-l.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/amber-l.jxl</from>
<to>/usr/share/backgrounds/gnome/amber-d.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/blobs-l-1.svg</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/blobs-l-1.svg</from>
<to>/usr/share/backgrounds/gnome/blobs-d-1.svg</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/drool-l-1.svg</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/drool-l-1.svg</from>
<to>/usr/share/backgrounds/gnome/drool-d-1.svg</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/fold-l.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/fold-l.jxl</from>
<to>/usr/share/backgrounds/gnome/fold-d.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/geometrics-l.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/geometrics-l.jxl</from>
<to>/usr/share/backgrounds/gnome/geometrics-d.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/glass-chip-l.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/glass-chip-l.jxl</from>
<to>/usr/share/backgrounds/gnome/glass-chip-d.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/morphogenesis-l.svg</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/morphogenesis-l.svg</from>
<to>/usr/share/backgrounds/gnome/morphogenesis-d.svg</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/neogeo-l.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/neogeo-l.jxl</from>
<to>/usr/share/backgrounds/gnome/neogeo-d.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/pills-l-1.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/pills-l-1.jxl</from>
<to>/usr/share/backgrounds/gnome/pills-d-1.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/pixels-l.jpg</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/pixels-l.jpg</from>
<to>/usr/share/backgrounds/gnome/pixels-d.jpg</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/ring-l.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/ring-l.jxl</from>
<to>/usr/share/backgrounds/gnome/ring-d.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/symbolic-l.png</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/symbolic-l.png</from>
<to>/usr/share/backgrounds/gnome/symbolic-d.png</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/tarka-l.jxl</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/tarka-l.jxl</from>
<to>/usr/share/backgrounds/gnome/tarka-d.jxl</to>
</transition>
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/gnome/vnc-l.png</file>
</static>
<!-- Day ended and starts to transition to night at 6 PM. The transition lasts for 2 hours, ending at 8 PM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/gnome/vnc-l.png</from>
<to>/usr/share/backgrounds/gnome/vnc-d.png</to>
</transition>
</background>
Some conflicting photos have been renamed by adding “-1”. The overlapping photos in the attached photos should also be renamed in this way.