summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/simple/nomads-cloud/default.nix2
-rw-r--r--krebs/5pkgs/simple/realwallpaper/default.nix6
2 files changed, 5 insertions, 3 deletions
diff --git a/krebs/5pkgs/simple/nomads-cloud/default.nix b/krebs/5pkgs/simple/nomads-cloud/default.nix
index 9c39de891..6e4ace484 100644
--- a/krebs/5pkgs/simple/nomads-cloud/default.nix
+++ b/krebs/5pkgs/simple/nomads-cloud/default.nix
@@ -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"
diff --git a/krebs/5pkgs/simple/realwallpaper/default.nix b/krebs/5pkgs/simple/realwallpaper/default.nix
index f81f96efe..d28f20cb6 100644
--- a/krebs/5pkgs/simple/realwallpaper/default.nix
+++ b/krebs/5pkgs/simple/realwallpaper/default.nix
@@ -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
''}