mkdir breaks
Some checks failed
Test templates, puts into cache / nix (nix-runner) (push) Has been cancelled
Some checks failed
Test templates, puts into cache / nix (nix-runner) (push) Has been cancelled
This commit is contained in:
parent
d62060a462
commit
f0b3a435ee
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user