summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/make-realwallpaper19
1 files changed, 12 insertions, 7 deletions
diff --git a/util/bin/make-realwallpaper b/util/bin/make-realwallpaper
index 6e1abf40..e1e3f5c2 100755
--- a/util/bin/make-realwallpaper
+++ b/util/bin/make-realwallpaper
@@ -84,13 +84,18 @@ main() {
ln $normal $final
done
+ map=daymap-final.png
+ night_map=nightmap-final.png
+ cloud_map=clouds-final.png
+ satellite_file=krebs.sat
+
# create xplanet output
cat >xplanet.config <<EOF
[earth]
"Earth"
-map=daymap-final.png
-night_map=nightmap-final.png
-cloud_map=clouds-final.png
+map=$map
+night_map=$night_map
+cloud_map=$cloud_map
cloud_threshold=10
shade=15
EOF
@@ -99,11 +104,11 @@ EOF
cat >xplanet-sat.config <<EOF
[earth]
"Earth"
-map=daymap-final.png
-night_map=nightmap-final.png
-cloud_map=clouds-final.png
-satellite_file=krebs.sat
+map=$map
+night_map=$night_map
+cloud_map=$cloud_map
cloud_threshold=10
+satellite_file=$satellite_file
shade=15
EOF