mkdir breaks
Some checks failed
Test templates, puts into cache / nix (nix-runner) (push) Has been cancelled

This commit is contained in:
Deepak Mallubhotla 2025-03-31 19:24:39 -05:00
parent d62060a462
commit f0b3a435ee
Signed by: deepak
GPG Key ID: 8F904A3FC7021497

View File

@ -332,7 +332,6 @@ in
# PATH=$PATH:${lib.makeBinPath [ pkgs.wego ]}
echo "`date`"
echo "that's the date"
# mkdir -p ${config.xdg.cacheHome}/weather/
${pkgs.wego}/bin/wego --help
${pkgs.wego}/bin/wego -f json > ${config.xdg.cacheHome}/weather/weather-cache.json
${pkgs.jq}/bin/jq -r '. | {location: .Location, current_tempc: .Current.TempC, current_tempf: ((1.8 * .Current.TempC + 32) |round), desc: .Current.Desc} | "\(.location): \(.current_tempf) F \(.desc)"' ~/.cache/weather/weather-cache.json > ${config.xdg.cacheHome}/weather/short-weather.txt