realwallpaper: use cloud_gamme instead of sqrt hack

This commit is contained in:
lassulus 2020-03-23 20:28:29 +01:00
parent 119b56956c
commit e5cbe0cbe1
2 changed files with 5 additions and 3 deletions

View File

@ -32,7 +32,7 @@ writers.writeDashBin "nomads-cloud" ''
echo "$maxval"
cat "$json_path" |
${jq}/bin/jq --argjson maxval "$maxval" -c '
((.[0].data[] | sqrt | sqrt) * $maxval | round)
((.[0].data[]) * $maxval | round)
' |
${findutils}/bin/xargs -n "$width"
} > "$pgm_path"

View File

@ -169,7 +169,8 @@ pkgs.writers.writeDashBin "generate-wallpaper" ''
map=daymap-final.png
night_map=nightmap-final.png
cloud_map=clouds-final.png
cloud_threshold=10
cloud_threshold=1
cloud_gamma=2.5
shade=15
''}
@ -181,7 +182,8 @@ pkgs.writers.writeDashBin "generate-wallpaper" ''
map=daymap-final.png
night_map=nightmap-final.png
cloud_map=clouds-final.png
cloud_threshold=10
cloud_threshold=1
cloud_gamma=2.5
marker_file=marker_file
shade=15
''}