realwallpaper: use cloud_gamme instead of sqrt hack
This commit is contained in:
parent
119b56956c
commit
e5cbe0cbe1
krebs/5pkgs/simple
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
''}
|
||||
|
|
Loading…
Reference in a new issue