Skip to content

Commit

Permalink
fix: 🐛 remove version and suffix from background file names
Browse files Browse the repository at this point in the history
  • Loading branch information
areguera committed Jun 3, 2024
1 parent 99ef290 commit 0b61e11
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[org.gnome.desktop.background]
picture-uri='file:///usr/share/backgrounds/centos-stream-10.xml'
picture-uri='file:///usr/share/backgrounds/centos.xml'
picture-options='scaled'
primary-color='#000000000000'
secondary-color='#000000000000'
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[org.gnome.desktop.screensaver]
picture-uri='file:///usr/share/backgrounds/centos-stream-10.xml'
picture-uri='file:///usr/share/backgrounds/centos.xml'
picture-options='scaled'
primary-color='#000000000000'
secondary-color='#000000000000'
File renamed without changes
File renamed without changes
12 changes: 6 additions & 6 deletions backgrounds/centos-stream-10.xml → backgrounds/centos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@
<!-- We start with day at 8 AM. It will remain up for 10 hours. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/centos-stream-10-day.png</file>
<file>/usr/share/backgrounds/centos-day.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/centos-stream-10-day.png</from>
<to>/usr/share/backgrounds/centos-stream-10-night.png</to>
<from>/usr/share/backgrounds/centos-day.png</from>
<to>/usr/share/backgrounds/centos-night.png</to>
</transition>

<!-- It's 8 PM, we're showing the night till 6 AM. -->
<static>
<duration>36000.0</duration>
<file>/usr/share/backgrounds/centos-stream-10-night.png</file>
<file>/usr/share/backgrounds/centos-night.png</file>
</static>

<!-- It's 6 AM, and we're starting to transition to day. Transition completes at 8 AM. -->
<transition type="overlay">
<duration>7200.0</duration>
<from>/usr/share/backgrounds/centos-stream-10-night.png</from>
<to>/usr/share/backgrounds/centos-stream-10-day.png</to>
<from>/usr/share/backgrounds/centos-night.png</from>
<to>/usr/share/backgrounds/centos-day.png</to>
</transition>

</background>
10 changes: 5 additions & 5 deletions backgrounds/desktop-backgrounds-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>CentOS Stream 10 Default</name>
<filename>/usr/share/backgrounds/centos-stream-10-day.png</filename>
<filename-dark>/usr/share/backgrounds/centos-stream-10-night.png</filename-dark>
<name>CentOS Default</name>
<filename>/usr/share/backgrounds/centos-day.png</filename>
<filename-dark>/usr/share/backgrounds/centos-night.png</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#a14f8c</pcolor>
<scolor>#200735</scolor>
</wallpaper>
<wallpaper deleted="false">
<name>CentOS Stream 10 Time of Day</name>
<filename>/usr/share/backgrounds/centos-stream-10.xml</filename>
<name>CentOS Default Time of Day</name>
<filename>/usr/share/backgrounds/centos.xml</filename>
<options>zoom</options>
</wallpaper>
</wallpapers>

0 comments on commit 0b61e11

Please sign in to comment.