Add wttr format
This commit is contained in:
parent
889d85841c
commit
5eaaa1ebcb
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
"get-theme-times" = {
|
"get-theme-times" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
path = [ pkgs.curl ];
|
path = [ pkgs.curl ];
|
||||||
script = "curl wttr.in > /tmp/wttr.in";
|
script = "curl wttr.in?format=j1 > /tmp/wttr.in";
|
||||||
after = [ "networking-online.target" ];
|
after = [ "networking-online.target" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
onSuccess = [
|
onSuccess = [
|
||||||
|
|
Loading…
Reference in a new issue