Compare commits

...

2 Commits

Author SHA1 Message Date
3810d4a0fc Merge branch 'master' into resurrect
All checks were successful
Test templates, puts into cache / nix (nix-runner) (push) Successful in 15m20s
2025-09-16 12:01:18 -05:00
2b81c5749c fix: remove broken date echo from weacther
All checks were successful
Test templates, puts into cache / nix (nix-runner) (push) Successful in 14m27s
2025-09-16 12:00:45 -05:00

View File

@@ -340,8 +340,6 @@ in
ExecStart = pkgs.writeShellScript "cache-weather-script" ''
set -euxo pipefail
# PATH=$PATH:${lib.makeBinPath [ pkgs.wego ]}
echo "`date`"
echo "that's the date"
${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