[gnome-themes-standard] update static wallpaper to an animated one.



commit b5c7f87ce00bc4a30fd3842a79bc20033b6910b3
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Nov 24 17:35:30 2011 +0100

    update static wallpaper to an animated one.

 themes/Adwaita/backgrounds/Makefile.am             |    6 ++-
 themes/Adwaita/backgrounds/adwaita-timed.xml       |   53 ++++++++++++++++++++
 themes/Adwaita/backgrounds/adwaita.xml.in.in       |    2 +-
 .../backgrounds/{stripes.jpg => bright-day.jpg}    |  Bin 330495 -> 330495 bytes
 themes/Adwaita/backgrounds/good-night.jpg          |  Bin 0 -> 117329 bytes
 themes/Adwaita/backgrounds/morning.jpg             |  Bin 0 -> 246770 bytes
 6 files changed, 59 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/backgrounds/Makefile.am b/themes/Adwaita/backgrounds/Makefile.am
index ae8b690..150c523 100644
--- a/themes/Adwaita/backgrounds/Makefile.am
+++ b/themes/Adwaita/backgrounds/Makefile.am
@@ -1,7 +1,11 @@
 
 backgrounddir = $(datadir)/themes/Adwaita/backgrounds
 background_DATA = \
-        stripes.jpg
+        adwaita-timed.xml \
+        bright-day.jpg \
+        good-night.jpg \
+        morning.jpg
+
 
 metadata_in_files = adwaita.xml.in
 metadatadir = $(datadir)/gnome-background-properties
diff --git a/themes/Adwaita/backgrounds/adwaita-timed.xml b/themes/Adwaita/backgrounds/adwaita-timed.xml
new file mode 100644
index 0000000..7c37a76
--- /dev/null
+++ b/themes/Adwaita/backgrounds/adwaita-timed.xml
@@ -0,0 +1,53 @@
+<!-- cosimo will make this work in any prefix -->
+
+<background>
+  <starttime>
+    <year>2011</year>
+    <month>11</month>
+    <day>24</day>
+    <hour>7</hour>
+    <minute>00</minute>
+    <second>00</second>
+  </starttime>
+
+<!-- This animation will start at 7 AM. -->
+
+<!-- We start with sunrise at 7 AM. It will remain up for 1 hour. -->
+<static>
+<duration>3600.0</duration>
+<file>/usr/share/themes/Adwaita/backgrounds/morning.jpg</file>
+</static>
+
+<!-- Sunrise starts to transition to day at 8 AM. The transition lasts for 5 hours, ending at 1 PM. -->
+<transition type="overlay">
+<duration>18000.0</duration>
+<from>/usr/share/themes/Adwaita/backgrounds/morning.jpg</from>
+<to>/usr/share/themes/Adwaita/backgrounds/bright-day.jpg</to>
+</transition>
+
+<!-- It's 1 PM, we're showing the day image in full force now, for 5 hours ending at 6 PM. -->
+<static>
+<duration>18000.0</duration>
+<file>/usr/share/themes/Adwaita/backgrounds/bright-day.jpg</file>
+</static>
+
+<!-- It's 7 PM and it's going to start to get darker. This will transition for 6 hours up until midnight. -->
+<transition type="overlay">
+<duration>21600.0</duration>
+<from>/usr/share/themes/Adwaita/backgrounds/bright-day.jpg</from>
+<to>/usr/share/themes/Adwaita/backgrounds/good-night.jpg</to>
+</transition>
+
+<!-- It's midnight. It'll stay dark for 5 hours up until 5 AM. -->
+<static>
+<duration>18000.0</duration>
+<file>/usr/share/themes/Adwaita/backgrounds/good-night.jpg</file>
+</static>
+
+<!-- It's 5 AM. We'll start transitioning to sunrise for 2 hours up until 7 AM. -->
+<transition type="overlay">
+<duration>7200.0</duration>
+<from>/usr/share/themes/Adwaita/backgrounds/good-night.jpg</from>
+<to>/usr/share/themes/Adwaita/backgrounds/morning.jpg</to>
+</transition>
+</background>
diff --git a/themes/Adwaita/backgrounds/adwaita.xml.in.in b/themes/Adwaita/backgrounds/adwaita.xml.in.in
index e7de8b3..5d01382 100644
--- a/themes/Adwaita/backgrounds/adwaita.xml.in.in
+++ b/themes/Adwaita/backgrounds/adwaita.xml.in.in
@@ -3,7 +3,7 @@
 <wallpapers>
   <wallpaper deleted="false">
     <_name>Default Background</_name>
-    <filename>@datadir@/themes/Adwaita/backgrounds/stripes.jpg</filename>
+    <filename>@datadir@/themes/Adwaita/backgrounds/adwaita-timed.xml</filename>
     <options>zoom</options>
     <shade_type>solid</shade_type>
     <pcolor>#3465a4</pcolor>
diff --git a/themes/Adwaita/backgrounds/stripes.jpg b/themes/Adwaita/backgrounds/bright-day.jpg
similarity index 100%
rename from themes/Adwaita/backgrounds/stripes.jpg
rename to themes/Adwaita/backgrounds/bright-day.jpg
diff --git a/themes/Adwaita/backgrounds/good-night.jpg b/themes/Adwaita/backgrounds/good-night.jpg
new file mode 100644
index 0000000..83bd918
Binary files /dev/null and b/themes/Adwaita/backgrounds/good-night.jpg differ
diff --git a/themes/Adwaita/backgrounds/morning.jpg b/themes/Adwaita/backgrounds/morning.jpg
new file mode 100644
index 0000000..c227804
Binary files /dev/null and b/themes/Adwaita/backgrounds/morning.jpg differ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]