[gnome-backgrounds/wip/exalm/dark] Group light/dark wallpapers together
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-backgrounds/wip/exalm/dark] Group light/dark wallpapers together
- Date: Sun, 12 Dec 2021 18:54:56 +0000 (UTC)
commit 810a1fe3fc57142a583fe4dc0bebed65613c3ace
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Dec 12 23:54:26 2021 +0500
Group light/dark wallpapers together
backgrounds/adwaita-timed.xml.in | 33 --------------
backgrounds/adwaita.xml.in | 3 +-
backgrounds/gnome-backgrounds.xml.in | 87 ++++++++----------------------------
backgrounds/meson.build | 8 +---
4 files changed, 21 insertions(+), 110 deletions(-)
---
diff --git a/backgrounds/adwaita.xml.in b/backgrounds/adwaita.xml.in
index 78f670f..4de08ac 100644
--- a/backgrounds/adwaita.xml.in
+++ b/backgrounds/adwaita.xml.in
@@ -3,7 +3,8 @@
<wallpapers>
<wallpaper deleted="false">
<name>Default Background</name>
- <filename>@datadir@/backgrounds/gnome/adwaita-timed.xml</filename>
+ <filename>@BACKGROUNDDIR@/adwaita-l.jpg</filename>
+ <filename-dark>@BACKGROUNDDIR@/adwaita-d.jpg</filename-dark>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#3465a4</pcolor>
diff --git a/backgrounds/gnome-backgrounds.xml.in b/backgrounds/gnome-backgrounds.xml.in
index 54185d9..2c7a168 100644
--- a/backgrounds/gnome-backgrounds.xml.in
+++ b/backgrounds/gnome-backgrounds.xml.in
@@ -1,99 +1,66 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
+<!--
<wallpaper deleted="false">
<name>1</name>
- <filename>@BACKGROUNDDIR@/adwaita-timed.xml</filename>
+ <filename>@BACKGROUNDDIR@/adwaita-l.jpg</filename>
+ <filename-dark>@BACKGROUNDDIR@/adwaita-d.jpg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
+-->
<wallpaper deleted="false">
<name>2</name>
<filename>@BACKGROUNDDIR@/blobs-l.svg</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
- <wallpaper deleted="false">
- <name>2</name>
- <filename>@BACKGROUNDDIR@/blobs-d.svg</filename>
+ <filename-dark>@BACKGROUNDDIR@/blobs-d.svg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
- <wallpaper deleted="false">
- <name>3</name>
- <filename>@BACKGROUNDDIR@/brush-strokes-d.jpg</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
<wallpaper deleted="false">
<name>3</name>
<filename>@BACKGROUNDDIR@/brush-strokes-l.jpg</filename>
+ <filename-dark>@BACKGROUNDDIR@/brush-strokes-d.jpg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
- <wallpaper deleted="false">
- <name>4</name>
- <filename>@BACKGROUNDDIR@/disco-d.jpg</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
<wallpaper deleted="false">
<name>4</name>
<filename>@BACKGROUNDDIR@/disco-l.jpg</filename>
+ <filename-dark>@BACKGROUNDDIR@/disco-d.jpg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
- <wallpaper deleted="false">
- <name>5</name>
- <filename>@BACKGROUNDDIR@/frosty-d.jpg</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
<wallpaper deleted="false">
<name>5</name>
<filename>@BACKGROUNDDIR@/frosty-l.jpg</filename>
+ <filename-dark>@BACKGROUNDDIR@/frosty-d.jpg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
-
- <wallpaper deleted="false">
- <name>6</name>
- <filename>@BACKGROUNDDIR@/pixels-d.png</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
+
<wallpaper deleted="false">
<name>6</name>
<filename>@BACKGROUNDDIR@/pixels-l.png</filename>
+ <filename-dark>@BACKGROUNDDIR@/pixels-d.png</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
-
- <wallpaper deleted="false">
- <name>7</name>
- <filename>@BACKGROUNDDIR@/symbolics-d.png</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
+
<wallpaper deleted="false">
<name>7</name>
<filename>@BACKGROUNDDIR@/symbolics-l.png</filename>
+ <filename-dark>@BACKGROUNDDIR@/symbolics-d.png</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
@@ -106,47 +73,29 @@
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
-
- <wallpaper deleted="false">
- <name>9</name>
- <filename>@BACKGROUNDDIR@/wood-d.jpg</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
+
<wallpaper deleted="false">
<name>9</name>
<filename>@BACKGROUNDDIR@/wood-l.jpg</filename>
+ <filename-dark>@BACKGROUNDDIR@/wood-d.jpg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
-
- <wallpaper deleted="false">
- <name>10</name>
- <filename>@BACKGROUNDDIR@/libadwaita-d.jpg</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
+
<wallpaper deleted="false">
<name>10</name>
<filename>@BACKGROUNDDIR@/libadwaita-l.jpg</filename>
+ <filename-dark>@BACKGROUNDDIR@/libadwaita-d.jpg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
</wallpaper>
-
- <wallpaper deleted="false">
- <name>11</name>
- <filename>@BACKGROUNDDIR@/drool-d.svg</filename>
- <options>zoom</options>
- <pcolor>#ffffff</pcolor>
- <scolor>#000000</scolor>
- </wallpaper>
+
<wallpaper deleted="false">
<name>11</name>
<filename>@BACKGROUNDDIR@/drool-l.svg</filename>
+ <filename-dark>@BACKGROUNDDIR@/drool-d.svg</filename-dark>
<options>zoom</options>
<pcolor>#ffffff</pcolor>
<scolor>#000000</scolor>
diff --git a/backgrounds/meson.build b/backgrounds/meson.build
index 06c6e88..dbe1975 100644
--- a/backgrounds/meson.build
+++ b/backgrounds/meson.build
@@ -2,12 +2,6 @@ dataconf = configuration_data()
dataconf.set('BACKGROUNDDIR', backgrounddir)
dataconf.set('datadir', datadir)
-adwaita_timed = configure_file(
- input: 'adwaita-timed.xml.in',
- output: 'adwaita-timed.xml',
- configuration: dataconf
-)
-
backgrounds = [
'adwaita-d.jpg',
'adwaita-l.jpg',
@@ -32,7 +26,7 @@ backgrounds = [
'wood-l.jpg'
]
-install_data([adwaita_timed] + backgrounds, install_dir: backgrounddir)
+install_data(backgrounds, install_dir: backgrounddir)
foreach metadata : ['gnome-backgrounds.xml', 'adwaita.xml']
configure_file(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]