summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/realwallpaper/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-03-23 09:58:10 +0100
committerlassulus <lassulus@lassul.us>2020-03-23 09:58:10 +0100
commitcab3be8a19d445d3292454099dbc1ca97bca60c5 (patch)
treedcf4da4bedfd08298c61e72960fa693dd6f95c4e /krebs/5pkgs/simple/realwallpaper/default.nix
parent2552d6321c309291147e3d7cc53501480b69f295 (diff)
realwallpaper: add subsolar/lunar points
Diffstat (limited to 'krebs/5pkgs/simple/realwallpaper/default.nix')
-rw-r--r--krebs/5pkgs/simple/realwallpaper/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/realwallpaper/default.nix b/krebs/5pkgs/simple/realwallpaper/default.nix
index 3f75e9e1e..b46cf08c1 100644
--- a/krebs/5pkgs/simple/realwallpaper/default.nix
+++ b/krebs/5pkgs/simple/realwallpaper/default.nix
@@ -128,6 +128,8 @@ pkgs.writers.writeDashBin "generate-wallpaper" ''
# create marker file from json
if [ -s marker.json ]; then
jq -r 'to_entries[] | @json "\(.value.latitude) \(.value.longitude)"' marker.json > marker_file
+ echo 'position=sun image=subsolar.png transparent={255,255,255}' >> marker_file
+ echo 'position=moon image=sublunar.png transparent={255,255,255}' >> marker_file
fi
# make all unmodified files as final